Package org.eclipse.php.core.codeassist

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


  public NamespaceDocTypesCompositeStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof NamespacePHPDocVarStartContext)) {
      return;
    }
    NamespacePHPDocVarStartContext concreteContext = (NamespacePHPDocVarStartContext) context;
    if (concreteContext.isGlobal()) {
View Full Code Here


  public MethodNameStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof MethodNameContext)) {
      return;
    }

    MethodNameContext concreteContext = (MethodNameContext) context;
View Full Code Here

  public PHPDocParamVariableStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof PHPDocTagContext)) {
      return;
    }
    PHPDocTagContext tagContext = (PHPDocTagContext) context;
View Full Code Here

  public NamespaceFunctionsStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof NamespaceMemberContext)) {
      return;
    }

    NamespaceMemberContext concreteContext = (NamespaceMemberContext) context;
View Full Code Here

  public ClassKeywordsStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    statementText = ((AbstractCompletionContext) context)
        .getStatementText();
    super.apply(reporter);
  }
View Full Code Here

  public NamespaceUseTraitNameStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof NamespaceUseNameContext)) {
      return;
    }

    NamespaceUseNameContext concreteContext = (NamespaceUseNameContext) context;
View Full Code Here

    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {

    ICompletionContext context = getContext();

    AbstractCompletionContext abstractContext = (AbstractCompletionContext) context;
    CompletionRequestor requestor = abstractContext
        .getCompletionRequestor();
View Full Code Here

  public BuiltinArrayKeysStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof ArrayKeyContext)) {
      return;
    }

    ArrayKeyContext arrayContext = (ArrayKeyContext) context;
View Full Code Here

  public InUseTraitStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof AbstractCompletionContext)) {
      return;
    }

    AbstractCompletionContext abstractContext = (AbstractCompletionContext) context;
View Full Code Here

  public NamespaceUseNameStrategy(ICompletionContext context) {
    super(context);
  }

  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof NamespaceUseNameContext)) {
      return;
    }

    NamespaceUseNameContext concreteContext = (NamespaceUseNameContext) context;
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.