public void refreshPdbEntries()
{
}
+
+ /**
+ * Send an asynchronous command to Chimera, in a new thread, optionally with
+ * an 'in progress' message in a progress bar somewhere
+ */
+ protected void sendAsynchronousCommand(final String command,
+ final String progressMsg)
+ {
+ Thread thread = new Thread(new Runnable()
+ {
+
+ @Override
+ public void run()
+ {
+ long stm = cvf.startProgressBar(progressMsg);
+ try
+ {
+ sendChimeraCommand(command, false);
+ } finally
+ {
+ cvf.stopProgressBar(null, stm);
+ }
+ }
+ });
+ thread.start();
+
+ }
}