Package org.springframework.ide.eclipse.config.core.contentassist.providers

Examples of org.springframework.ide.eclipse.config.core.contentassist.providers.BeanReferenceContentProposalProvider


        || (WebFlowConfigSchemaConstants.ELEM_FLOW_BUILDER_SERVICES.equals(elem) && (WebFlowConfigSchemaConstants.ATTR_VIEW_FACTORY_CREATOR
            .equals(attr) || WebFlowConfigSchemaConstants.ATTR_EXPRESSION_PARSER.equals(attr) || WebFlowConfigSchemaConstants.ATTR_CONVERSION_SERVICE
            .equals(attr)))) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    if (WebFlowConfigSchemaConstants.ELEM_ATTRIBUTE.equals(elem)
        && WebFlowConfigSchemaConstants.ATTR_TYPE.equals(attr)) {
View Full Code Here


        || (BeansSchemaConstants.ELEM_ENTRY.equals(elem) && (BeansSchemaConstants.ATTR_VALUE_REF.equals(attr) || BeansSchemaConstants.ATTR_KEY_REF
            .equals(attr)))
        || (BeansSchemaConstants.ELEM_LOOKUP_METHOD.equals(elem) && BeansSchemaConstants.ATTR_BEAN.equals(attr))) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr)));
      return true;
    }
    if ((BeansSchemaConstants.ELEM_REF.equals(elem) && BeansSchemaConstants.ATTR_LOCAL.equals(attr))
        || (BeansSchemaConstants.ELEM_IDREF.equals(elem) && BeansSchemaConstants.ATTR_LOCAL.equals(attr))) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, false)));
      return true;
    }
    if (BeansSchemaConstants.ELEM_BEAN.equals(elem)
        && (BeansSchemaConstants.ATTR_INIT_METHOD.equals(attr) || BeansSchemaConstants.ATTR_DESTROY_METHOD
View Full Code Here

        || SecuritySchemaConstants.ATTR_DATA_SOURCE_REF.equals(attr)
        || SecuritySchemaConstants.ATTR_SERVER_REF.equals(attr)
        || SecuritySchemaConstants.ATTR_CACHE_REF.equals(attr) || SecuritySchemaConstants.ATTR_REF.equals(attr)) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    return super.addCustomAttribute(client, attr, required);
  }
View Full Code Here

    if (ContextSchemaConstants.ELEM_COMPONENT_SCAN.equals(elem)
        && (ContextSchemaConstants.ATTR_NAME_GENERATOR.equals(attr) || ContextSchemaConstants.ATTR_SCOPE_RESOLVER
            .equals(attr))) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    if (ContextSchemaConstants.ELEM_LOAD_TIME_WEAVER.equals(elem)
        && ContextSchemaConstants.ATTR_WEAVER_CLASS.equals(attr)) {
View Full Code Here

      return true;
    }
    if (LangSchemaConstants.ATTR_CUSTOMIZER_REF.equals(attr)) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    return super.addCustomAttribute(client, attr, required);
  }
View Full Code Here

  protected boolean addCustomAttribute(Composite client, String attr, boolean required) {
    // TxContentAssistProcessor and TxHyperlinkDetector
    if (TxSchemaConstants.ATTR_TRANSACTION_MANAGER.equals(attr)) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    return super.addCustomAttribute(client, attr, required);
  }
View Full Code Here

        || (AopSchemaConstants.ELEM_ADVISOR.equals(elem) && AopSchemaConstants.ATTR_ADVICE_REF.equals(attr))
        || (AopSchemaConstants.ELEM_INCLUDE.equals(elem) && AopSchemaConstants.ATTR_NAME.equals(attr))
        || AopSchemaConstants.ATTR_DELEGATE_REF.equals(attr)) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr)));
      return true;
    }
    if (AopSchemaConstants.ATTR_IMPLEMENT_INTERFACE.equals(attr)) {
      TextAttribute attrControl = createClassAttribute(client, attr, true, required);
View Full Code Here

    // OsgiContentAssistProcessor and OsgiHyperlinkDetector
    String elem = getInput().getLocalName();
    if (OsgiSchemaConstants.ATTR_DEPENDS_ON.equals(attr) || OsgiSchemaConstants.ATTR_REF.equals(attr)) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    if (OsgiSchemaConstants.ATTR_INTERFACE.equals(attr)) {
      TextAttribute attrControl = createClassAttribute(client, attr, true, required);
View Full Code Here

            .equals(attr))
        || (BlueprintSchemaConstants.ELEM_ARGUMENT.equals(elem) && BlueprintSchemaConstants.ATTR_REF
            .equals(attr))) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr)));
      return true;
    }
    if (BlueprintSchemaConstants.ATTR_INTERFACE.equals(attr)) {
      TextAttribute attrControl = createClassAttribute(client, attr, true, required);
View Full Code Here

    String elem = getInput().getLocalName();
    if (OsgiCompendiumSchemaConstants.ELEM_PROPERTY_PLACEHOLDER.equals(elem)
        && OsgiCompendiumSchemaConstants.ATTR_DEFAULTS_REF.equals(attr)) {
      TextAttribute attrControl = createBeanAttribute(client, attr, required);
      addWidget(attrControl);
      addAdapter(new TextAttributeProposalAdapter(attrControl, new BeanReferenceContentProposalProvider(
          getInput(), attr, true)));
      return true;
    }
    return super.addCustomAttribute(client, attr, required);
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.config.core.contentassist.providers.BeanReferenceContentProposalProvider

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.