JAL-1264 wip
[jalview.git] / src / jalview / gui / AlignFrame.java
index 69af72b..5da5f1d 100644 (file)
@@ -5722,30 +5722,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   }
 
   /**
-   * Get a list of unique annotation types for the alignment, optionally
-   * restricted to sequence-specific annotations.
-   */
-  protected List<String> getAnnotationTypes(boolean sequenceSpecificOnly)
-  {
-    // TODO move this to an AlignmentUtils class or similar
-    List<String> types = new ArrayList<String>();
-    for (AlignmentAnnotation aa : alignPanel.getAlignment()
-            .getAlignmentAnnotation())
-    {
-      if (sequenceSpecificOnly && aa.sequenceRef == null)
-      {
-        continue;
-      }
-      String type = aa.label;
-      if (!types.contains(type))
-      {
-        types.add(type);
-      }
-    }
-    return types;
-  }
-
-  /**
    * Action on selection of menu option to Show or Hide all annotations.
    * 
    * @param visibile