Examples of PDTCompletionInfo


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

Examples of org.pdtextensions.core.codeassist.PDTCompletionInfo

    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
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.