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
Merge remote-tracking branch
[jalview.git]
/
src
/
jalview
/
datamodel
/
StructureViewerModel.java
diff --git
a/src/jalview/datamodel/StructureViewerModel.java
b/src/jalview/datamodel/StructureViewerModel.java
index
c23e320
..
8bc745a
100644
(file)
--- a/
src/jalview/datamodel/StructureViewerModel.java
+++ b/
src/jalview/datamodel/StructureViewerModel.java
@@
-29,6
+29,9
@@
public class StructureViewerModel
private String viewId;
private String viewId;
+ // CHIMERA or JMOL (for projects from Jalview 2.9 on)
+ private String type;
+
private Map<File, StructureData> fileData = new HashMap<File, StructureData>();
public class StructureData
private Map<File, StructureData> fileData = new HashMap<File, StructureData>();
public class StructureData
@@
-86,7
+89,7
@@
public class StructureViewerModel
public StructureViewerModel(int x, int y, int width, int height,
boolean alignWithPanel, boolean colourWithAlignPanel,
public StructureViewerModel(int x, int y, int width, int height,
boolean alignWithPanel, boolean colourWithAlignPanel,
- boolean colourByViewer, String viewId)
+ boolean colourByViewer, String viewId, String type)
{
this.x = x;
this.y = y;
{
this.x = x;
this.y = y;
@@
-96,6
+99,7
@@
public class StructureViewerModel
this.colourWithAlignPanel = colourWithAlignPanel;
this.colourByViewer = colourByViewer;
this.viewId = viewId;
this.colourWithAlignPanel = colourWithAlignPanel;
this.colourByViewer = colourByViewer;
this.viewId = viewId;
+ this.type = type;
}
public int getX()
}
public int getX()
@@
-192,4
+196,9
@@
public class StructureViewerModel
{
return this.viewId;
}
{
return this.viewId;
}
+
+ public String getType()
+ {
+ return this.type;
+ }
}
}