Examples of open()


Examples of org.eclipse.jface.dialogs.MessageDialogWithToggle.open()

                        }
                    }

                    AddFilesToRepositoryWizard wizard = new AddFilesToRepositoryWizard(null, files);
                    WizardDialog dialog = new WizardDialog(getSection().getShell(), wizard);
                    if (Window.OK == dialog.open()) {
                        List<Pair<String,String>> addingBundles = wizard.getSelectedBundles();
                        List<VersionedClause> addingClauses = new ArrayList<VersionedClause>(addingBundles.size());

                        for (Pair<String,String> addingBundle : addingBundles) {
                            Attrs attribs = new Attrs();
View Full Code Here

Examples of org.eclipse.jface.dialogs.PopupDialog.open()

    if (window == null) {
      return null;
    }

    final PopupDialog popupDialog = new QuickAccessDialog(window, executionEvent.getCommand());
    popupDialog.open();
    return null;
  }

}
View Full Code Here

Examples of org.eclipse.jface.dialogs.ProgressMonitorDialog.open()

  protected boolean innerPerformFinish() {

    try {

      ProgressMonitorDialog progressMonitor = new ProgressMonitorDialog(getShell());
      progressMonitor.open();
     
      progressMonitor.run(true, true, new UploadRunable(_serverPage.getSelectedServers()));
     
      List<String> serverNames = new ArrayList<String>();
      Iterator<WGARemoteServer> remoteServers = _serverPage.getSelectedServers().iterator();
View Full Code Here

Examples of org.eclipse.jface.dialogs.TitleAreaDialog.open()

          tid.create();
          // tid.getShell().setSize(350, 200);
          tid.setTitle("Parameters dialod");
          tid.setMessage("Please choose property and enter new name for it.");
          tid.getShell().pack(true);
          tid.open();
        }
      });
      mm.add(new Action("Remove property") {

        public void run() {
View Full Code Here

Examples of org.eclipse.jface.preference.PreferenceDialog.open()

            @Override
            public void linkActivated(HyperlinkEvent e) {
                PreferenceDialog pref = PreferencesUtil.createPreferenceDialogOn(new Shell(), WGADesignerPlugin.PREFERENCES_PAGE_WGA_DEPLOYMENTS, null, null);
                if (pref != null) {
                    pref.open();
                    updateWGADistributions();
                }
            }
        });
View Full Code Here

Examples of org.eclipse.jface.text.hyperlink.IHyperlink.open()

    try {
      activePage.closeAllEditors(false);
      IDE.openEditor(activePage, file);
    } catch (PartInitException e) {
    }
    hyperlink.open();
    final IEditorPart activeEditor = activePage.getActiveEditor();
    assertTrue(activeEditor.getEditorInput() instanceof FileEditorInput);
    FileEditorInput input = (FileEditorInput) activeEditor.getEditorInput();
    assertEquals("/testproject/src/main/java/org/qwickie/test/project/issue54/Issue54Page.html", input.getFile().getFullPath().toPortableString());
    activePage.closeAllEditors(false);
View Full Code Here

Examples of org.eclipse.jface.text.hyperlink.URLHyperlink.open()

                            if (skypeURL != null) {
                                Utils.runSafeSWTSync(log, new Runnable() {
                                    public void run() {
                                        URLHyperlink link = new URLHyperlink(
                                            new Region(0, 0), skypeURL);
                                        link.open();
                                    }
                                });
                            }

                        }
View Full Code Here

Examples of org.eclipse.jface.viewers.IOpenListener.open()

    Object[] listeners = fOpenListeners.getListeners();
    for (int i = 0; i < listeners.length; ++i) {
      final IOpenListener listener = (IOpenListener) listeners[i];
      SafeRunnable.run(new SafeRunnable() {
        public void run() {
          listener.open(event);
        }
      });
    }
  }
View Full Code Here

Examples of org.eclipse.jface.window.ApplicationWindow.open()

       PropertyConfigurator.configure (Constants.LOG4J_FILE); bar.setSelection(i + 1); numProgIncr[0]--;
       OnlineIndex oi = new OnlineIndex(null); oi.copyArgs(args); bar.setSelection(i + 1); numProgIncr[0]--;
       ApplicationWindow viewer = oi; bar.setSelection(i + 1); numProgIncr[0]--;
       splash.close(); image.dispose();
       viewer.setBlockOnOpen(true);
       viewer.open();    
      }
    }
   
  ); //*-- end of display asynexec
  
View Full Code Here

Examples of org.eclipse.jface.wizard.WizardDialog.open()

      IEditorPart editorPart = workbench.getActiveWorkbenchWindow().getActivePage().getActiveEditor();
      if (editorPart != null && editorPart.getEditorInput() instanceof FileEditorInput) {
        FileEditorInput input = (FileEditorInput) editorPart.getEditorInput();
        wizard.init(workbench, new SingleStructuredSelection(input.getFile().getParent()));
        WizardDialog dialog = new WizardDialog(workbench.getActiveWorkbenchWindow().getShell(), wizard);
        dialog.open();
      }       
    }

    public String getAdditionalProposalInfo() {
      return null;
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.