Examples of restoreOldState()


Examples of org.eclipse.bpel.common.ui.details.IOngoingChange.restoreOldState()

   
    Command cmd = change.createApplyCommand();
    if (cmd != null) {
      cmd.setLabel(change.getLabel());
      if (changeUndone) {
        change.restoreOldState();
      } else {
        // TODO: if the command is not actually executable, should we call
        // restoreOldState() instead?  I'm inclined not to because we've been
        // using !canExecute() to elide no-op commands.  But maybe we should
        // rethink that (especially since IOngoingChange makes it much less
View Full Code Here

Examples of org.eclipse.bpel.common.ui.details.IOngoingChange.restoreOldState()

        // a different way by EditModelCommandStack, we should consider calling
        // restoreOldState() if canExecute() fails.
        commandStack.execute(cmd);
      }
    } else {
      change.restoreOldState();
    }
  }
}
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.