Examples of open()


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

  protected HyperlinkedTextAttribute createPointcutAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new PointcutReferenceHyperlinkProvider(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.PropertyNameHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createPropertyNameAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new PropertyNameHyperlinkProvider(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.ToolAnnotationBasedHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createToolAnnotationAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new ToolAnnotationBasedHyperlinkProvider(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.XmlBackedHyperlinkProvider.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.osgi.ui.editor.hyperlink.osgi.RegistrationMethodHyperlinkProvider.open()

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

Examples of org.springframework.ide.eclipse.quickfix.jdt.processors.RequestMappingDialog.open()

      JavaModelException, IllegalArgumentException, BadLocationException {
    MultiTextEdit edit = new MultiTextEdit();
    String methodTypeString = null;

    RequestMappingDialog dialog = new RequestMappingDialog(Display.getDefault().getActiveShell());
    if (dialog.open() == Dialog.OK) {
      TextEdit importEdit = JdtQuickfixUtils.getTextEditForImport(cu, REQUEST_MAPPING_IMPORT);
      if (importEdit != null) {
        edit.addChild(importEdit);
      }
View Full Code Here

Examples of org.springframework.ide.eclipse.roo.ui.internal.wizard.RooAddOnManagerDialog.open()

  }

  public void run(RooShellView view) {
    List<IProject> projects = getSelectedProjects();
    RooAddOnManagerDialog dialog = new RooAddOnManagerDialog(UiUtil.getShell(), projects, view);
    if (dialog.open() == Window.OK && dialog.getTab() != null) {
      performInstall(dialog, dialog.getTab());
    }
  }

  private void performInstall(RooAddOnManagerDialog dialog, final RooShellTab tab) {
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.ui.editor.hyperlink.webflow.StateReferenceHyperlinkProvider.open()

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

Examples of org.springframework.ide.eclipse.webflow.ui.editor.hyperlink.webflow.SubflowReferenceHyperlinkProvider.open()

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

Examples of org.springframework.ide.eclipse.webflow.ui.editor.hyperlink.webflow.WebFlowActionMethodHyperlinkProvider.open()

  protected HyperlinkedTextAttribute createWebFlowMethodAttribute(Composite client, String attr, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new WebFlowActionMethodHyperlinkProvider(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.