X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fapi%2FAlignViewControllerI.java;h=04c1fd9c65fbe600aac963ffcc1a014b2b1cac46;hb=fd18e2c73cd015d4e38ad91da0e5d7532ff0ef42;hp=26966ba37711b7b6d09d5db66481fa22343a0e73;hpb=37de9310bec3501cbc6381e0c3dcb282fcaad812;p=jalview.git diff --git a/src/jalview/api/AlignViewControllerI.java b/src/jalview/api/AlignViewControllerI.java index 26966ba..04c1fd9 100644 --- a/src/jalview/api/AlignViewControllerI.java +++ b/src/jalview/api/AlignViewControllerI.java @@ -20,6 +20,9 @@ */ package jalview.api; +import jalview.datamodel.SequenceGroup; +import jalview.io.DataSourceType; + import java.util.List; /** @@ -88,13 +91,33 @@ public interface AlignViewControllerI * add a features file of some kind to the current view * * @param file - * @param protocol + * @param sourceType * @param relaxedIdMatching * if true, try harder to match up IDs with local sequence data * @return true if parsing resulted in something being imported to the view or * dataset */ - public boolean parseFeaturesFile(String file, String protocol, + public boolean parseFeaturesFile(String file, DataSourceType sourceType, boolean relaxedIdMatching); + /** + * clear any group definitions in the current view and add a set of new group + * definitions with randomly generated colours + * + * @param gps + */ + void showRandomColoursForGroups(List gps); + + /** + * mark columns containing highlighted regions (e.g. from search, structure + * highlight, or a mouse over event in another viewer) + * + * @param invert + * @param extendCurrent + * @param toggle + * @return + */ + boolean markHighlightedColumns(boolean invert, boolean extendCurrent, + boolean toggle); + }