git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1957 JAL-1479 mention SIFTS mappings in PDB Structure viewing instructions
[jalview.git]
/
src
/
jalview
/
api
/
AlignViewportI.java
diff --git
a/src/jalview/api/AlignViewportI.java
b/src/jalview/api/AlignViewportI.java
index
8343f0b
..
0840520
100644
(file)
--- a/
src/jalview/api/AlignViewportI.java
+++ b/
src/jalview/api/AlignViewportI.java
@@
-53,6
+53,18
@@
public interface AlignViewportI extends ViewStyleI
*/
public int calcPanelHeight();
*/
public int calcPanelHeight();
+ /**
+ * Answers true if the viewport has at least one column selected
+ *
+ * @return
+ */
+ boolean hasSelectedColumns();
+
+ /**
+ * Answers true if the viewport has at least one hidden column
+ *
+ * @return
+ */
boolean hasHiddenColumns();
boolean isValidCharWidth();
boolean hasHiddenColumns();
boolean isValidCharWidth();
@@
-110,6
+122,11
@@
public interface AlignViewportI extends ViewStyleI
boolean isClosed();
/**
boolean isClosed();
/**
+ * Dispose of all references or resources held by the viewport
+ */
+ void dispose();
+
+ /**
* get the associated calculation thread manager for the view
*
* @return
* get the associated calculation thread manager for the view
*
* @return
@@
-397,4
+414,12
@@
public interface AlignViewportI extends ViewStyleI
public void applyFeaturesStyle(FeatureSettingsModelI featureSettings);
public void applyFeaturesStyle(FeatureSettingsModelI featureSettings);
+
+ /**
+ * check if current selection group is defined on the view, or is simply a
+ * temporary group.
+ *
+ * @return true if group is defined on the alignment
+ */
+ boolean isSelectionDefinedGroup();
}
}