*/
package jalview.schemes;
-import java.awt.*;
-import java.util.Hashtable;
-import java.util.Map;
-
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AnnotatedCollectionI;
import jalview.datamodel.SequenceCollectionI;
import jalview.datamodel.SequenceI;
+import java.awt.Color;
+import java.util.Hashtable;
+import java.util.Map;
+
/**
* Looks at the information computed from an RNA Stockholm format file on the
* secondary structure of the alignment. Extracts the information on the
*/
package jalview.schemes;
-import java.util.*;
-import java.awt.event.*;
-
import jalview.api.AlignViewportI;
import jalview.api.AlignmentViewPanel;
-import jalview.datamodel.*;
-import jalview.schemes.*;
+import jalview.datamodel.SequenceGroup;
+
+import java.awt.event.ActionEvent;
+import java.util.Hashtable;
+import java.util.Vector;
/**
* Helps generate the colors for RNA secondary structure. Future: add option to
{
String label = av.getAlignment().getAlignmentAnnotation()[i].label;
if (!list.contains(label))
+ {
list.addElement(label);
+ }
else
+ {
list.addElement(label + "_" + (index++));
+ }
}
adjusting = false;