Examples of cancel()


Examples of commonj.timers.Timer.cancel()

  public void destroy() {
    // Cancel all registered timers.
    for (Iterator it = this.timers.iterator(); it.hasNext();) {
      Timer timer = (Timer) it.next();
      try {
        timer.cancel();
      }
      catch (Throwable ex) {
        logger.warn("Could not cancel CommonJ Timer", ex);
      }
    }
View Full Code Here

Examples of de.sciss.app.AbstractCompoundEdit.cancel()

        }
        edit.perform();
        edit.end();
        getUndoManager().addEdit( edit );
      } else {
        edit.cancel();
      }
    }

    // mte will check pt.shouldCancel() itself
    public void processCancel( ProcessingThread context ) { /* ignore */ }
View Full Code Here

Examples of de.sciss.eisenkraut.edit.BasicCompoundEdit.cancel()

        edit.end();
        getUndoManager().addEdit( edit );
        success = true;
      }
      finally {
        if( !success ) edit.cancel();
      }
    }
  } // class actionTrimClass

  /**
 
View Full Code Here

Examples of de.sciss.meloncillo.edit.BasicCompoundEdit.cancel()

        edit.end();
        getUndoManager().addEdit( edit );
        success = true;
      }
      finally {
        if( !success ) edit.cancel();
      }
    }
  } // class actionTrimClass

  /**
 
View Full Code Here

Examples of de.sciss.meloncillo.edit.CompoundSessionObjEdit.cancel()

//        edit.end(); // fires doc.tc.modified()
//        doc.getUndoManager().addEdit( edit );
        return DONE;
      }
      catch( IOException e1 ) {
        edit.cancel();
        context.setException( e1 );
        return FAILED;
      }
    } // run()
View Full Code Here

Examples of de.willuhn.jameica.hbci.synchronize.SynchronizeSession.cancel()

    }
    catch (NeedKeyAckException e)
    {
      // Die wird bei HAVE_NEW_MY_KEYS geworfen.
      // Wir brechen ohne Anzeigen eines Fehlers ab.
      session.cancel();
    }
    catch (OperationCanceledException oce)
    {
      // Die wird geworfen, wenn der User selbst abgebrochen hat.
      // Wuerde ich die jetzt weiterwerfen, muesste ich mir bei
View Full Code Here

Examples of desmoj.core.simulator.ExternalEvent.cancel()

    // course this only applies if a wait time limit has been set and a
    // delayed interrupt has been scheduled.
    if (waitUntil != null) {
      skipTraceNote(2);
      current.cancelInterruptDelayed();
      processUnblockingEvent.cancel();
    }

    // Now after the process is active again get the message that activated
    // the process and return it. Additionally remove the process from the
    // list of passivated processes.
View Full Code Here

Examples of edu.emory.mathcs.backport.java.util.concurrent.Future.cancel()

                    System.identityHashCode(timeoutAbstract) + "' of type '" + timeoutAbstract.getClass().getName() + "' that has requested its timeout be cancelled. Task queue size: "+ timeoutService.getQueue().size());
        }
        else
        {
            Future timeoutFuture = timeoutAbstract.getTimeoutFuture();
            timeoutFuture.cancel(false); // Don't interrupt it if it's running.
            if (Log.isDebug())
                Log.getLogger(LOG_CATEGORY).debug("TimeoutManager '" + System.identityHashCode(this) + "' cancelling timeout task for instance '" +
                    System.identityHashCode(timeoutAbstract) + "' of type '" + timeoutAbstract.getClass().getName() + "' that has requested its timeout be cancelled. Task queue size: "+ timeoutService.getQueue().size());
            if (timeoutFuture.isDone())
            {
View Full Code Here

Examples of edu.emory.mathcs.backport.java.util.concurrent.ScheduledFuture.cancel()

    }

    synchronized static public void cancel(Runnable task) {
        ScheduledFuture ticket = (ScheduledFuture) clockTickets.remove(task);
        if( ticket!=null ) {
            ticket.cancel(false);
            if (ticket instanceof Runnable)
              clockDaemon.remove((Runnable) ticket);           
        }
    }
View Full Code Here

Examples of elemental.util.Timer.cancel()

        return this == currentPopupRemover;
      }

      @Override
      public void remove() {
        showTimer.cancel();
        if (isVisibleOrPending()) {
          currentPopupRemover = null;
          detachPopupDummyElement();

          setPopupPartnersEnabled(popupPartnerElements, false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.