git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d27f1ff
)
Save featureGroup
author
amwaterhouse
<Andrew Waterhouse>
Thu, 16 Feb 2006 15:48:05 +0000
(15:48 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 16 Feb 2006 15:48:05 +0000
(15:48 +0000)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
993b402
..
e387967
100755
(executable)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-207,6
+207,7
@@
public class Jalview2XML
features.setDescription(sf.getDescription());
\r
features.setStatus(sf.getStatus());
\r
features.setType(sf.getType());
\r
features.setDescription(sf.getDescription());
\r
features.setStatus(sf.getStatus());
\r
features.setType(sf.getType());
\r
+ features.setFeatureGroup(sf.getFeatureGroup());
\r
jseq.addFeatures(features);
\r
}
\r
}
\r
jseq.addFeatures(features);
\r
}
\r
}
\r
@@
-682,6
+683,7
@@
public class Jalview2XML
= new jalview.datamodel.SequenceFeature(features[f].getType(),
\r
features[f].getDescription(), features[f].getStatus(),
\r
features[f].getBegin(), features[f].getEnd());
\r
= new jalview.datamodel.SequenceFeature(features[f].getType(),
\r
features[f].getDescription(), features[f].getStatus(),
\r
features[f].getBegin(), features[f].getEnd());
\r
+ sf.setFeatureGroup(features[f].getFeatureGroup());
\r
al.getSequenceAt(i).getDatasetSequence().addSequenceFeature(sf);
\r
}
\r
}
\r
al.getSequenceAt(i).getDatasetSequence().addSequenceFeature(sf);
\r
}
\r
}
\r
@@
-879,9
+881,8
@@
public class Jalview2XML
\r
if (view.getShowSequenceFeatures())
\r
{
\r
\r
if (view.getShowSequenceFeatures())
\r
{
\r
- af.featureSettings.setEnabled(true);
\r
af.viewport.showSequenceFeatures = true;
\r
af.viewport.showSequenceFeatures = true;
\r
- af.sequenceFeatures.setSelected(true);
\r
+ af.showSeqFeatures.setSelected(true);
\r
}
\r
\r
if(jms.getFeatureSettings()!=null)
\r
}
\r
\r
if(jms.getFeatureSettings()!=null)
\r