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

Examples of org.springframework.ide.eclipse.config.ui.widgets.HyperlinkedTextAttribute


   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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


   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  protected HyperlinkedTextAttribute createLookupReplaceMethodAttribute(Composite client, String attr,
      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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  protected HyperlinkedTextAttribute createFactoryMethodAttribute(Composite client, String attr,
      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

   * @param attr the attribute name
   * @param required denotes whether this is a required field
   * @return {@link HyperlinkedTextAttribute} widget set
   */
  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

TOP

Related Classes of org.springframework.ide.eclipse.config.ui.widgets.HyperlinkedTextAttribute

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.