Package org.eclipse.ecf.ui

Examples of org.eclipse.ecf.ui.IConnectWizard


    super(workbench, wizardPage, wizardElement);
    this.containerToConnect = container;
  }

  public IWizard createWizard() throws CoreException {
    IConnectWizard connectWizard = ((IConnectWizard) getWizardElement()
        .createWizardForNode());
    connectWizard.init(getWorkbench(), containerToConnect);
    return connectWizard;
  }
View Full Code Here


  public ContainerConnectWizardDialog(Shell parentShell, IWorkbench workbench, ContainerConfigurationResult containerHolder) throws CoreException {
    super(parentShell, getWizard(workbench, containerHolder));
  }

  protected static IConnectWizard getWizard(IWorkbench workbench, ContainerConfigurationResult containerHolder) throws CoreException {
    IConnectWizard connectWizard = null;
    IConfigurationElement ce = findConnectWizardConfigurationElements(containerHolder)[0];
    connectWizard = (IConnectWizard) ce.createExecutableExtension(IWizardRegistryConstants.ATT_CLASS);
    connectWizard.init(workbench, containerHolder.getContainer());
    return connectWizard;
  }
View Full Code Here

    try {
      IWorkbench workbench = PlatformUI.getWorkbench();
      IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
      IContainer container = createContainer();
      Assert.isNotNull(container);
      IConnectWizard icw = createConnectWizard();
      Assert.isNotNull(icw);
      icw.init(workbench, container);
      WizardDialog dialog = new WizardDialog(window.getShell(), icw);
      dialog.open();
    } catch (Exception ex) {
      IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID,
          IStatus.ERROR,
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.ui.IConnectWizard

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.