void dispose();
/**
- * shutdown any structure viewing processes started by this display
+ * Shutdown any Jalview structure viewing processes started by this display
+ *
+ * @param closeExternalViewer
+ * if true, force close any linked external viewer process
*/
- void closeViewer();
+ void closeViewer(boolean closeExternalViewer);
+
/**
* apply a colourscheme to the structures in the viewer
+ *
* @param colourScheme
*/
void setJalviewColourScheme(ColourSchemeI colourScheme);
+ /**
+ *
+ * @return true if all background sequence/structure binding threads have
+ * completed for this viewer instance
+ */
+ boolean hasMapping();
+
}