// remove listeners for all structures in viewer
getSsm().removeStructureViewerListener(this, this.getStructureFiles());
if (viewer != null)
// remove listeners for all structures in viewer
getSsm().removeStructureViewerListener(this, this.getStructureFiles());
if (viewer != null)
// see JAL-623 - need method of matching pasted data up
{
pdb = getSsm().setMapping(getSequence()[pe], getChains()[pe],
// see JAL-623 - need method of matching pasted data up
{
pdb = getSsm().setMapping(getSequence()[pe], getChains()[pe],
- pdbfile, DataSourceType.PASTE,
- getIProgressIndicator());
+ pdbfile, DataSourceType.PASTE, getIProgressIndicator());
public static Viewer getJmolData(JmolParser jmolParser)
{
return (Viewer) JmolViewer.allocateViewer(null, null, null, null, null,
public static Viewer getJmolData(JmolParser jmolParser)
{
return (Viewer) JmolViewer.allocateViewer(null, null, null, null, null,
protected abstract JmolAppConsoleInterface createJmolConsole(
Container consolePanel, String buttonsToShow);
protected abstract JmolAppConsoleInterface createJmolConsole(
Container consolePanel, String buttonsToShow);
- jmolScript("background [" + col.getRed() + ","
- + col.getGreen() + "," + col.getBlue() + "];");
+ jmolScript("background [" + col.getRed() + "," + col.getGreen() + ","
+ + col.getBlue() + "];");