FeatureGroups added
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Feb 2006 15:20:51 +0000 (15:20 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Feb 2006 15:20:51 +0000 (15:20 +0000)
src/jalview/datamodel/SequenceFeature.java

index 1adff25..e94244d 100755 (executable)
@@ -33,6 +33,10 @@ public class SequenceFeature
     String description;\r
     String status;\r
 \r
+    // Feature group can be set from a features file\r
+    // as a group of features between STARTGROUP and ENDGROUP markers\r
+    String featureGroup;\r
+\r
     public SequenceFeature()\r
     {}\r
 \r
@@ -134,4 +138,15 @@ public class SequenceFeature
       this.status = status;\r
     }\r
 \r
+    public String getFeatureGroup()\r
+    {\r
+      return featureGroup;\r
+    }\r
+\r
+    public void setFeatureGroup(String featureGroup)\r
+    {\r
+      this.featureGroup = featureGroup;\r
+    }\r
+\r
+\r
 }\r