X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FStructureViewerModel.java;h=8bc745ab6aec0369bb055d1c72da7b3792c14e6d;hb=7a3ba197b00d4016556f3cdd635919fe6817867b;hp=c23e32083194c901741b0aa6b7ef92bc9fbd1c32;hpb=17dfd212b89123210a95ee7638e3a5374cf41fb3;p=jalview.git diff --git a/src/jalview/datamodel/StructureViewerModel.java b/src/jalview/datamodel/StructureViewerModel.java index c23e320..8bc745a 100644 --- a/src/jalview/datamodel/StructureViewerModel.java +++ b/src/jalview/datamodel/StructureViewerModel.java @@ -29,6 +29,9 @@ public class StructureViewerModel private String viewId; + // CHIMERA or JMOL (for projects from Jalview 2.9 on) + private String type; + private Map fileData = new HashMap(); public class StructureData @@ -86,7 +89,7 @@ public class StructureViewerModel 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; @@ -96,6 +99,7 @@ public class StructureViewerModel this.colourWithAlignPanel = colourWithAlignPanel; this.colourByViewer = colourByViewer; this.viewId = viewId; + this.type = type; } public int getX() @@ -192,4 +196,9 @@ public class StructureViewerModel { return this.viewId; } + + public String getType() + { + return this.type; + } }