Package org.eclipse.ui

Examples of org.eclipse.ui.IActionDelegate2.runWithEvent()


      if ((delegate instanceof IActionDelegate2)
          && (trigger instanceof Event)) {
        // This supports Eclipse 2.1 to Eclipse 3.1.
        final IActionDelegate2 delegate2 = (IActionDelegate2) delegate;
        final Event triggeringEvent = (Event) trigger;
        delegate2.runWithEvent(action, triggeringEvent);
      } else if ((delegate instanceof IActionDelegateWithEvent)
          && (trigger instanceof Event)) {
        // This supports Eclipse 2.0
        final IActionDelegateWithEvent delegateWithEvent = (IActionDelegateWithEvent) delegate;
        final Event triggeringEvent = (Event) trigger;
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.