Package org.eclipse.php.core.codeassist

Examples of org.eclipse.php.core.codeassist.ICompletionContext


    }

    public void apply(ICompletionReporter reporter) throws BadLocationException {

      ICompletionContext context = getContext();
      AbstractCompletionContext abstractContext = (AbstractCompletionContext) context;
      if (abstractContext.getPrefixWithoutProcessing().trim().length() == 0) {
        return;
      }
      SourceRange replacementRange = getReplacementRange(abstractContext);
View Full Code Here


  }

  @Override
  public void apply(final ICompletionReporter reporter) throws BadLocationException {

    ICompletionContext ctx = getContext();

    if (!(ctx instanceof AnnotationCompletionContext)) {
      return;
    }   
View Full Code Here

    @Override
    public void apply(ICompletionReporter reporter) throws Exception
    {

        ICompletionContext context = getContext();
        AbstractTwigCompletionContext abstractContext = (AbstractTwigCompletionContext) context;
        String prefix = abstractContext.getPrefix();

        IField[] fields = PHPModelUtils.getFileFields(
                abstractContext.getSourceModule(), prefix, false, null);
View Full Code Here

TOP

Related Classes of org.eclipse.php.core.codeassist.ICompletionContext

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.