private FeatureRenderer fr = null;
+
public JalviewChimeraBindingModel(ChimeraViewFrame chimeraViewFrame,
StructureSelectionManager ssm, PDBEntry[] pdbentry,
- SequenceI[][] sequenceIs, String[][] chains,
- DataSourceType protocol)
+ SequenceI[][] sequenceIs, DataSourceType protocol)
{
- super(ssm, pdbentry, sequenceIs, chains, protocol);
+ super(ssm, pdbentry, sequenceIs, protocol);
cvf = chimeraViewFrame;
}
@Override
public void run()
{
- long stm = cvf.startProgressBar(progressMsg);
+ long handle = 0;
+ if (progressMsg != null)
+ {
+ handle = cvf.startProgressBar(progressMsg);
+ }
try
{
sendChimeraCommand(command, false);
} finally
{
- cvf.stopProgressBar(null, stm);
+ if (progressMsg != null)
+ {
+ cvf.stopProgressBar(null, handle);
+ }
}
}
});
thread.start();
}
+
+
}