Examples of QuickfixContentAssistConverter


Examples of org.springframework.ide.eclipse.quickfix.QuickfixContentAssistConverter

  }

  public ICompletionProposal[] computeQuickAssistProposals(IQuickAssistInvocationContext invocationContext) {
    List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();

    Set<ContentAssistProposalWrapper> matchedProposals = new QuickfixContentAssistConverter(parentNode,
        attributeName, file).getMethodProposals(text, false, calculator);
    for (ContentAssistProposalWrapper proposal : matchedProposals) {
      String methodName = proposal.getName();
      String description = proposal.getDisplayText();
      proposals.add(new RenameToSimilarNameQuickFixProposal(methodName, offset, length, missingEndQuote,
View Full Code Here

Examples of org.springframework.ide.eclipse.quickfix.QuickfixContentAssistConverter

  public static List<ICompletionProposal> computeBeanReferenceQuickAssistProposals(IDOMNode node,
      String attributeName, IFile file, String text, String beanName, int offset, int length,
      boolean missingEndQuote) {
    List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();

    Set<ContentAssistProposalWrapper> possibleProposals = new QuickfixContentAssistConverter(node, attributeName,
        file).getReferenceableBeanDescriptions(text, false);
    for (ContentAssistProposalWrapper proposal : possibleProposals) {
      proposals.add(new RenameToSimilarNameQuickFixProposal(proposal.getName(), offset, length, missingEndQuote,
          proposal.getDisplayText()));
    }
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.