Package org.springframework.ide.eclipse.beans.ui.editor.contentassist

Examples of org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeanReferenceContentAssistCalculator


*/
public class JmsContentAssistProcessor extends NamespaceContentAssistProcessorSupport {

  @Override
  public void init() {
    IContentAssistCalculator beanRef = new BeanReferenceContentAssistCalculator(true);
    registerContentAssistCalculator("listener-container", "connection-factory", beanRef);
    registerContentAssistCalculator("listener-container", "task-executor", beanRef);
    registerContentAssistCalculator("listener-container", "destination-resolver", beanRef);
    registerContentAssistCalculator("listener-container", "message-converter", beanRef);
    registerContentAssistCalculator("listener-container", "transaction-manager", beanRef);
View Full Code Here


public class ContextContentAssistProcessor extends
    NamespaceContentAssistProcessorSupport {

  @Override
  public void init() {
    IContentAssistCalculator beanRef = new BeanReferenceContentAssistCalculator(true);
    registerContentAssistCalculator("component-scan", "name-generator",  beanRef);
    registerContentAssistCalculator("component-scan", "scope-resolver", beanRef);

    registerContentAssistCalculator("load-time-weaver", "weaver-class",
        new ClassHierachyContentAssistCalculator("org.springframework.instrument.classloading.LoadTimeWeaver"));
View Full Code Here

  public Set<ContentAssistProposalWrapper> getPropertyProposals(String toBeMatched, boolean exactMatch) {
    return computeNameMatchedProposals(toBeMatched, exactMatch, "", new PropertyNameContentAssistCalculator());
  }

  public Set<ContentAssistProposalWrapper> getReferenceableBeanDescriptions(String toBeMatched, boolean exactMatch) {
    return getMethodProposals(toBeMatched, exactMatch, new BeanReferenceContentAssistCalculator());
  }
View Full Code Here

        true);
    registerContentAssistCalculator("jruby", "script-interfaces",
        calculator);
    registerContentAssistCalculator("bsh", "script-interfaces", calculator);
    registerContentAssistCalculator("groovy", "customizer-ref",
        new BeanReferenceContentAssistCalculator(true));
  }
View Full Code Here

    registerContentAssistCalculator("key-type", clazzAndInterface);

    PropertyBeanReferenceContentAssistCalculator propertyBean = new PropertyBeanReferenceContentAssistCalculator();
    registerContentAssistCalculator(NamespaceUtils.DEFAULT_NAMESPACE_URI, "bean", "property", "ref", propertyBean);

    BeanReferenceContentAssistCalculator globalBean = new BeanReferenceContentAssistCalculator();
    registerContentAssistCalculator("bean", "parent", globalBean);
    registerContentAssistCalculator("bean", "depends-on", globalBean);
    registerContentAssistCalculator("bean", "factory-bean", globalBean);
    registerContentAssistCalculator("ref", "bean", globalBean);
    registerContentAssistCalculator("idref", "bean", globalBean);
    registerContentAssistCalculator("constructor-arg", "ref", globalBean);
    registerContentAssistCalculator("alias", "name", globalBean);
    registerContentAssistCalculator("replaced-method", "replacer", globalBean);
    registerContentAssistCalculator("entry", "value-ref", globalBean);
    registerContentAssistCalculator("entry", "key-ref", globalBean);
    registerContentAssistCalculator("lookup-method", "bean", globalBean);

    BeanReferenceContentAssistCalculator localBean = new BeanReferenceContentAssistCalculator(false);
    registerContentAssistCalculator("ref", "local", localBean);
    registerContentAssistCalculator("idref", "local", localBean);

    InitDestroyMethodContentAssistCalculator initDestroy = new InitDestroyMethodContentAssistCalculator();
    registerContentAssistCalculator("bean", "init-method", initDestroy);
View Full Code Here

*/
public class FacesConfigContentAssistProcessor extends NamespaceContentAssistProcessorSupport {

  @Override
  public void init() {
    BeanReferenceContentAssistCalculator beanRef = new BeanReferenceContentAssistCalculator(
        true);

    registerContentAssistCalculator("flow-builder-services", "expression-parser", beanRef);
    registerContentAssistCalculator("flow-builder-services", "formatter-registry", beanRef);
    registerContentAssistCalculator("flow-builder-services", "view-factory-creator", beanRef);
View Full Code Here

public class TxContentAssistProcessor extends
    NamespaceContentAssistProcessorSupport {

  @Override
  public void init() {
    BeanReferenceContentAssistCalculator calculator =
      new BeanReferenceContentAssistCalculator(true);
    registerContentAssistCalculator("advice", "transaction-manager",
        calculator);
    registerContentAssistCalculator("annotation-driven",
        "transaction-manager", calculator);
  }
View Full Code Here

*/
public class OsgiContentAssistProcessor extends NamespaceContentAssistProcessorSupport {

  @Override
  public void init() {
    BeanReferenceContentAssistCalculator beanRef = new BeanReferenceContentAssistCalculator(
        true);   
    registerContentAssistCalculator("depends-on", beanRef);
    registerContentAssistCalculator("ref", beanRef);
    registerContentAssistCalculator("property-placeholder", "defaults-ref", beanRef);

View Full Code Here

*/
public class SecurityContentAssistProcessor extends NamespaceContentAssistProcessorSupport {

  @Override
  public void init() {
    BeanReferenceContentAssistCalculator beanRef = new BeanReferenceContentAssistCalculator(
        true);
    registerContentAssistCalculator("access-decision-manager-ref", beanRef);
    registerContentAssistCalculator("http", "entry-point-ref", beanRef);
    registerContentAssistCalculator("openid-login", "user-service-ref", beanRef);
    registerContentAssistCalculator("remember-me", "user-service-ref", beanRef);
View Full Code Here

    registerContentAssistCalculator("next", "to", stepRef);
    registerContentAssistCalculator("stop", "restart", stepRef);
    registerContentAssistCalculator("split", "next", stepRef);
    registerContentAssistCalculator("step", "next", stepRef);
   
    IContentAssistCalculator beanRef = new BeanReferenceContentAssistCalculator();
    registerContentAssistCalculator("job", "parent", beanRef);
    registerContentAssistCalculator("step", "parent", beanRef);
    registerContentAssistCalculator("chunk", "processor", beanRef);
    registerContentAssistCalculator("chunk", "reader", beanRef);
    registerContentAssistCalculator("chunk", "writer", beanRef);
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeanReferenceContentAssistCalculator

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.