Package org.eclipse.ui

Examples of org.eclipse.ui.IWorkbenchWindowPulldownDelegate


    /**
     * @see IMenuCreator#getMenu(Control)
     */
    public Menu getMenu(Control parent) {
      IWorkbenchWindowPulldownDelegate delegate = getPulldownDelegate();
      if (delegate != null) {
        final MenuLoader menuLoader = new MenuLoader(delegate, parent);
        SafeRunner.run(menuLoader);
        return menuLoader.getMenu();
      }
View Full Code Here


    /**
     * @see IMenuCreator#getMenu(Menu)
     */
    public Menu getMenu(Menu parent) {
      IWorkbenchWindowPulldownDelegate delegate = getPulldownDelegate();

      if (delegate instanceof IWorkbenchWindowPulldownDelegate2) {
        IWorkbenchWindowPulldownDelegate2 delegate2 = (IWorkbenchWindowPulldownDelegate2) delegate;
        final MenuLoader menuLoader = new MenuLoader(delegate2, parent);
        SafeRunner.run(menuLoader);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IWorkbenchWindowPulldownDelegate

Copyright © 2018 www.massapicom. 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.