private String stateData = "";
+ 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 String pdbId;
private List<SequenceI> seqList;
-
// TODO and possibly a list of chains?
/**
public StructureViewerModel(int x, int y, int width, int height,
boolean alignWithPanel, boolean colourWithAlignPanel,
- boolean colourByViewer)
+ boolean colourByViewer, String viewId, String type)
{
this.x = x;
this.y = y;
this.alignWithPanel = alignWithPanel;
this.colourWithAlignPanel = colourWithAlignPanel;
this.colourByViewer = colourByViewer;
+ this.viewId = viewId;
+ this.type = type;
}
public int getX()
this.fileData = fileData;
}
+ public String getViewId()
+ {
+ return this.viewId;
+ }
+
+ public String getType()
+ {
+ return this.type;
+ }
}