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-2089 patch broken merge to master for Release 2.10.0b1
[jalview.git]
/
src
/
jalview
/
api
/
AlignViewportI.java
diff --git
a/src/jalview/api/AlignViewportI.java
b/src/jalview/api/AlignViewportI.java
index
df57cc0
..
bd7d53d
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
@@
-243,7
+260,7
@@
public interface AlignViewportI extends ViewStyleI
* @return String[]
*/
String[] getViewAsString(boolean selectedRegionOnly);
* @return String[]
*/
String[] getViewAsString(boolean selectedRegionOnly);
-
+
/**
* This method returns the visible alignment as text, as seen on the GUI, ie
* if columns are hidden they will not be returned in the result. Use this for
/**
* This method returns the visible alignment as text, as seen on the GUI, ie
* if columns are hidden they will not be returned in the result. Use this for
@@
-258,7
+275,8
@@
public interface AlignViewportI extends ViewStyleI
*
* @return String[]
*/
*
* @return String[]
*/
- String[] getViewAsString(boolean selectedRegionOnly, boolean isExportHiddenSeqs);
+ String[] getViewAsString(boolean selectedRegionOnly,
+ boolean isExportHiddenSeqs);
void setSelectionGroup(SequenceGroup sg);
void setSelectionGroup(SequenceGroup sg);
@@
-395,7
+413,6
@@
public interface AlignViewportI extends ViewStyleI
*/
void setFollowHighlight(boolean b);
*/
void setFollowHighlight(boolean b);
-
public void applyFeaturesStyle(FeatureSettingsModelI featureSettings);
/**
public void applyFeaturesStyle(FeatureSettingsModelI featureSettings);
/**