* build a new links menu based on the current links
* and any non-positional features
*/
+ List<SequenceFeature> features = null;
+ if (sq != null)
+ {
List<String> nlinks = Preferences.sequenceUrlLinks.getLinksForMenu();
- List<SequenceFeature> features = sq.getFeatures().getNonPositionalFeatures();
+ features = sq.getFeatures().getNonPositionalFeatures();
for (SequenceFeature sf : features)
{
if (sf.links != null)
}
}
}
+ }
PopupMenu pop = new PopupMenu(alignPanel, sq, features,
Preferences.getGroupURLLinks());