Examples of InitDestroyMethodContentAssistCalculator


Examples of org.springframework.ide.eclipse.beans.ui.editor.contentassist.bean.InitDestroyMethodContentAssistCalculator

        if (methodName != null && className != null) {
          NodeInfo nodeInfo = findNodeInfo(marker, BeansSchemaConstants.ATTR_DESTROY_METHOD, methodName);
          if (nodeInfo != null && file != null) {
            proposals = new MethodAttributeQuickAssistProcessor(nodeInfo.offset, nodeInfo.length,
                className, methodName, true, nodeInfo.node, BeansSchemaConstants.ATTR_DESTROY_METHOD,
                file.getProject(), false, new InitDestroyMethodContentAssistCalculator(), file)
                .computeQuickAssistProposals(null);
          }
        }
      }
      else if (ERROR_ID_UNDEFINED_INIT.equals(errorId)) {
        String methodName = marker.getAttribute("METHOD", null);
        if (methodName != null && className != null) {
          NodeInfo nodeInfo = findNodeInfo(marker, BeansSchemaConstants.ATTR_INIT_METHOD, methodName);
          if (nodeInfo != null && file != null) {
            proposals = new MethodAttributeQuickAssistProcessor(nodeInfo.offset, nodeInfo.length,
                className, methodName, true, nodeInfo.node, BeansSchemaConstants.ATTR_INIT_METHOD,
                file.getProject(), false, new InitDestroyMethodContentAssistCalculator(), file)
                .computeQuickAssistProposals(null);
          }
        }
      }
      else if (ERROR_ID_UNDEFINED_FACTORY_BEAN_METHOD.equals(errorId)) {
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.ui.editor.contentassist.bean.InitDestroyMethodContentAssistCalculator

    super(input, attrName);
  }

  @Override
  protected IContentAssistCalculator createContentAssistCalculator() {
    return new InitDestroyMethodContentAssistCalculator();
  }
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.