Examples of open()


Examples of org.springframework.ide.eclipse.beans.ui.dialogs.BeanListSelectionDialog.open()

  private IWorkbenchWindow workbenchWindow;

  public void run(IAction action) {
    BeanListSelectionDialog dialog = new BeanListSelectionDialog(
        workbenchWindow.getShell());
    if (Window.OK == dialog.open()) {
      IBean bean = (IBean) dialog.getFirstResult();
      BeansUIUtils.openInEditor(bean);
    }
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.AdviceMethodHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createAdviceMethodAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new AdviceMethodHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.BeanHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createBeanAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new BeanHyperlinkProvider(getConfigEditor().getTextViewer(),
            getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.ClassHyperlinkProvider.open()

      }

      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new ClassHyperlinkProvider(getConfigEditor().getTextViewer(),
            getInput(), attr);
        if (!provider.open(text.getText())) {
          openNewClassWizard(attr, text.getText());
        }
      }

      @Override
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.FactoryMethodHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createFactoryMethodAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new FactoryMethodHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.FieldHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createFieldAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new FieldHyperlinkProvider(getConfigEditor().getTextViewer(),
            getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.ImportHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createImportAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new ImportHyperlinkProvider(getConfigEditor().getTextViewer(),
            getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.InitDestroyMethodHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createInitDestroyMethodAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new InitDestroyMethodHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.ListenerMethodHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createListenerMethodAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new ListenerMethodHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.ui.hyperlinks.LookupReplaceMethodHyperlinkProvider.open()

      boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new LookupReplaceMethodHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
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.