/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
{
AlignmentPanel ap = (alignment == null) ? appJmolWindow.getAlignmentPanel()
: (AlignmentPanel) alignment;
- if (ap.av.showSequenceFeatures)
+ if (ap.av.isShowSequenceFeatures())
{
if (fr == null)
{
- fr = ap.cloneFeatureRenderer();
+ fr = (jalview.gui.FeatureRenderer) ap.cloneFeatureRenderer();
}
else
{
}
if (!isLoadingFromArchive())
{
- colourBySequence(ap.av.getShowSequenceFeatures(), ap);
+ colourBySequence(ap.av.isShowSequenceFeatures(), ap);
}
}
appJmolWindow.showConsole(b);
}
- /**
- * add the given sequences to the mapping scope for the given pdb file handle
- *
- * @param pdbFile
- * - pdbFile identifier
- * @param seq
- * - set of sequences it can be mapped to
- */
- public void addSequenceForStructFile(String pdbFile, SequenceI[] seq)
- {
- for (int pe = 0; pe < getPdbCount(); pe++)
- {
- if (getPdbEntry(pe).getFile().equals(pdbFile))
- {
- addSequence(pe, seq);
- }
- }
- }
-
@Override
protected JmolAppConsoleInterface createJmolConsole(JmolViewer viewer2,
Container consolePanel, String buttonsToShow)