Add new feature from seqrch results
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index e9078dd..8c6c7d2 100755 (executable)
@@ -73,6 +73,11 @@ public class AlignViewport
   boolean scaleLeftWrapped = true;\r
   boolean scaleRightWrapped = true;\r
 \r
+  // The following vector holds the features which are\r
+ // currently visible, in the correct order or rendering\r
+  Hashtable featuresDisplayed = null;\r
+\r
+\r
   public Vector vconsensus;\r
   AlignmentAnnotation consensus;\r
   AlignmentAnnotation conservation;\r
@@ -221,7 +226,7 @@ public class AlignViewport
                                              annotations,\r
                                              0f, // cons.qualityRange[0].floatValue(),\r
                                              11f, // cons.qualityRange[1].floatValue()\r
-                                             AlignmentAnnotation.LINE_GRAPH);\r
+                                             AlignmentAnnotation.BAR_GRAPH);\r
       if (showConservation)\r
       {\r
         alignment.addAnnotation(conservation);\r
@@ -231,7 +236,7 @@ public class AlignViewport
                                         qannotations,\r
                                         cons.qualityRange[0].floatValue(),\r
                                         cons.qualityRange[1].floatValue(),\r
-                                        AlignmentAnnotation.LINE_GRAPH);\r
+                                        AlignmentAnnotation.BAR_GRAPH);\r
       if (showQuality)\r
       {\r
         alignment.addAnnotation(quality);\r
@@ -294,7 +299,7 @@ public class AlignViewport
     if (consensus == null)\r
     {\r
       consensus = new AlignmentAnnotation("Consensus",\r
-                                          "PID", annotations, 0f, 100f, AlignmentAnnotation.LINE_GRAPH);\r
+                                          "PID", annotations, 0f, 100f, AlignmentAnnotation.BAR_GRAPH);\r
       if (showConsensus)\r
       {\r
         alignment.addAnnotation(consensus);\r