JAL-4047 - proof of concept for JAL-4048 - display columns of info in sequence ID...
[jalview.git] / src / jalview / viewmodel / seqfeatures / IdColumn.java
diff --git a/src/jalview/viewmodel/seqfeatures/IdColumn.java b/src/jalview/viewmodel/seqfeatures/IdColumn.java
new file mode 100644 (file)
index 0000000..4b1cfa1
--- /dev/null
@@ -0,0 +1,49 @@
+package jalview.viewmodel.seqfeatures;
+
+public class IdColumn
+{
+  String name;
+
+  String descr;
+
+  boolean visible;
+
+  /**
+   * name of the feature this column shows
+   */
+  String featureTypeName = null;
+
+  /**
+   * group to select feature(s)
+   */
+  String featureGroupName = null;
+
+  /**
+   * Label string for annotation row
+   */
+  String annotationTypeName = null;
+
+  /**
+   * calcId for annotation row
+   */
+  String annotationTypeCalcId = null;
+
+  public String DbRefName = null;
+
+  public IdColumn(String string, String description, boolean b)
+  {
+    name = string;
+    descr = description;
+    visible = b;
+  }
+
+  public String getLabel()
+  {
+    return name;
+  }
+
+  public boolean isVisible()
+  {
+    return visible;
+  }
+}
\ No newline at end of file