Package org.pdtextensions.semanticanalysis.ui.contentassist

Examples of org.pdtextensions.semanticanalysis.ui.contentassist.InterfaceMethodCompletionProposal


  public IScriptCompletionProposal[] getCorrections(IInvocationContext context, IProblemLocation[] locations) throws CoreException {
    List<IScriptCompletionProposal> corrections = new ArrayList<IScriptCompletionProposal>();

    for (IProblemLocation location : locations) {
      if (location.getProblemIdentifier() == PEXProblemIdentifier.INTERFACE_RELATED) {
        corrections.add(new InterfaceMethodCompletionProposal("", 0, 100, null, "Add unimplemented methods", 100));
      }
    }

    return corrections.toArray(new IScriptCompletionProposal[corrections.size()]);
  }
View Full Code Here

TOP

Related Classes of org.pdtextensions.semanticanalysis.ui.contentassist.InterfaceMethodCompletionProposal

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.