import jalview.structure.StructureSelectionManager;
import jalview.structures.models.AAStructureBindingModel;
import jalview.util.MessageManager;
+import jalview.util.StructureCommands;
import java.awt.Color;
import java.io.File;
private static final String ALPHACARBON = "CA";
- private List<String> chainNames = new ArrayList<>();
-
private Hashtable<String, String> chainFile = new Hashtable<>();
/*
protected String[] getColourBySequenceCommands(
String[] files, AlignmentViewPanel viewPanel)
{
- Map<Object, AtomSpecModel> colourMap = buildColoursMap(viewPanel);
+ Map<Object, AtomSpecModel> colourMap = StructureCommands.buildColoursMap(this, viewPanel);
return ChimeraCommands.getColourBySequenceCommand(colourMap, this);
}
}
/**
- * Returns a list of chains mapped in this viewer. Note this list is not
- * currently scoped per structure.
- *
- * @return
- */
- @Override
- public List<String> getChainNames()
- {
- return chainNames;
- }
-
- /**
* Send a 'focus' command to Chimera to recentre the visible display
*/
public void focusView()