public void stopProcess() {
   if (myParsingThread != null) {
     myParsingThread.stopProcess();
   }
   myIsAborted = true;
   myLeftToolbar.updateActionsImmediately();
   myRightToolbar.updateActionsImmediately();
 }
 public boolean isStoppedOrTerminateRequested() {
   return myParsingThread == null || myParsingThread.isTerminateInvoked() || isStopped();
 }
 public boolean isStopped() {
   return myParsingThread == null || myParsingThread.isStopped();
 }