X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignViewControllerGuiI.java;h=86e61e7fc51d3331231c354eac53cd8ada8fd9da;hb=74393b51f368cb9f58589472d432a433d9c4386d;hp=b9638e53cfa30939143b8de37c48f2cc3c965fa3;hpb=7ab5d6b0ba5fec1ea4a4239e79c476d841622485;p=jalview.git diff --git a/src/jalview/api/AlignViewControllerGuiI.java b/src/jalview/api/AlignViewControllerGuiI.java index b9638e5..86e61e7 100644 --- a/src/jalview/api/AlignViewControllerGuiI.java +++ b/src/jalview/api/AlignViewControllerGuiI.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -20,6 +20,9 @@ */ package jalview.api; +import jalview.commands.CommandI; +import jalview.schemes.ColourSchemeI; + /** * Interface implemented by gui implementations managing a Jalview Alignment * View @@ -37,4 +40,26 @@ public interface AlignViewControllerGuiI */ void setStatus(String string); + void addHistoryItem(CommandI command); + + void setShowSeqFeatures(boolean show); + + void setMenusForViewport(); + + void changeColour(ColourSchemeI cs); + + /** + * trigger an update of the UI in response to a model data change, and if + * necessary enable the display of sequence feature annotation on the view. + * + * @param enableIfNecessary + */ + void refreshFeatureUI(boolean enableIfNecessary); + + /** + * get the Feature Settings control panel for the alignment view if one exists + * + * @return + */ + FeatureSettingsControllerI getFeatureSettingsUI(); }