*/
package jalview.api.structures;
+import java.io.File;
+import java.util.Collections;
+import java.util.List;
+
import jalview.api.AlignmentViewPanel;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.SequenceI;
-import jalview.schemes.ColourSchemeI;
+import jalview.gui.AlignmentPanel;
+import jalview.gui.StructureViewer;
import jalview.structures.models.AAStructureBindingModel;
public interface JalviewStructureDisplayI
void closeViewer(boolean closeExternalViewer);
/**
- * apply a colourscheme to the structures in the viewer
- *
- * @param colourScheme
+ * Check if the external viewer is still running
*/
- void setJalviewColourScheme(ColourSchemeI colourScheme);
+ boolean stillRunning();
/**
*
*/
void stopProgressBar(String msg, long handle);
+ /**
+ *
+ * @return true if the actions menu is shown for this viewer
+ */
+ boolean hasViewerActionsMenu();
+
+ String getViewId();
+
+ StructureViewer.ViewerType getViewerType();
+
+ boolean isUsedforaligment(AlignmentViewPanel ap);
+
+ boolean isColouredByViewer();
+
+ int getHeight();
+
+ int getWidth();
+
+ int getY();
+
+ File saveSession();
+
+ /**
+ *
+ * @return heteroatoms in a form suitable for display and passing to command generator to display hetatms
+ */
+ default List<String> getHetatms() {
+ return Collections.EMPTY_LIST;
+ }
+
}