Examples of IShellProvider


Examples of org.eclipse.jface.window.IShellProvider

      if (wbench != null) {
          IWorkbenchWindow window = wbench.getActiveWorkbenchWindow();
          if (window != null)
              return window.getShell();
          else {
              IShellProvider prov = wbench.getModalDialogShellProvider ();
              if (prov != null)
                  return prov.getShell();

              return new Shell(wbench.getDisplay());
          }
      }
View Full Code Here

Examples of org.eclipse.jface.window.IShellProvider

    action.setHelpContextId(IAbstractTextEditorHelpContextIds.OPEN_HYPERLINK_ACTION);
    action.setActionDefinitionId(ITextEditorActionDefinitionIds.OPEN_HYPERLINK);
    setAction(ITextEditorActionConstants.OPEN_HYPERLINK, action);

    PropertyDialogAction openProperties= new PropertyDialogAction(
        new IShellProvider() {
          public Shell getShell() {
            return getSite().getShell();
          }
        },
        new ISelectionProvider() {
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.