- /*
- * build a new links menu based on the current links
- * and any non-positional features
- */
- List<String> nlinks = Preferences.sequenceUrlLinks.getLinksForMenu();
- List<SequenceFeature> features = sq.getFeatures().getNonPositionalFeatures();
- for (SequenceFeature sf : features)
+ /**
+ * On right mouse click on a Consensus annotation label, shows a limited popup
+ * menu, with options to configure the consensus calculation and rendering.
+ *
+ * @param e
+ * @param pos
+ * @see AnnotationLabels#showPopupMenu(MouseEvent)
+ */
+ void showAnnotationMenu(MouseEvent e, MousePos pos)
+ {
+ if (pos.annotationIndex == -1)