Package org.pdtextensions.core.codeassist

Examples of org.pdtextensions.core.codeassist.PDTCompletionInfo


          continue;

        } catch (ModelException e) {

          if (CodeAssistUtils.startsWithIgnoreCase(moduleMethod.getElementName(), prefix) && !reported.contains(method.getElementName())) {
            reporter.reportMethod(method, "", range, new PDTCompletionInfo(module));
            reported.add(method.getElementName());
          }
        }
      }
    }
View Full Code Here


    Object info = proposal.getExtraInfo();

    if ( !(info instanceof PDTCompletionInfo) )
      return null;

    PDTCompletionInfo additional = (PDTCompletionInfo) info;
    String completion = new String(proposal.getCompletion());
    int replaceStart = proposal.getReplaceStart();
    int length = getLength(proposal);
    Image image = getImage(getLabelProvider().createTypeImageDescriptor(proposal));
    String displayString = (getLabelProvider()).createLabel(proposal);


    SuperclassMethodCompletionProposal scriptProposal = new SuperclassMethodCompletionProposal(completion,
        replaceStart, length, image, displayString, 0, (IMethod) proposal.getModelElement(), additional.getSource());


    scriptProposal.setRelevance(Integer.MAX_VALUE);
    scriptProposal.setProposalInfo(new MethodProposalInfo(getScriptProject(), proposal));
View Full Code Here

TOP

Related Classes of org.pdtextensions.core.codeassist.PDTCompletionInfo

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.