Package org.springframework.ide.eclipse.config.ui.hyperlinks

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


      final String referenceNode, boolean required) {
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new FactoryMethodHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr, referenceNode);
        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.