Package org.eclipse.php.internal.core.codeassist.contexts

Examples of org.eclipse.php.internal.core.codeassist.contexts.NamespacePHPDocVarStartContext


    ICompletionContext context = getContext();
    if (!(context instanceof NamespacePHPDocVarStartContext)) {
      return;
    }

    NamespacePHPDocVarStartContext concreteContext = (NamespacePHPDocVarStartContext) context;
    // now we compute type suffix in PHPCompletionProposalCollector
    String suffix = "";//$NON-NLS-1$
    SourceRange replaceRange = getReplacementRange(concreteContext);

    for (IType type : getTypes(concreteContext)) {
View Full Code Here


  public void apply(ICompletionReporter reporter) throws BadLocationException {
    ICompletionContext context = getContext();
    if (!(context instanceof NamespacePHPDocVarStartContext)) {
      return;
    }
    NamespacePHPDocVarStartContext concreteContext = (NamespacePHPDocVarStartContext) context;
    if (concreteContext.isGlobal()) {
      GlobalTypesStrategy strategy = new GlobalTypesStrategy(context) {

        protected int getExtraInfo() {
          return ProposalExtraInfo.TYPE_ONLY;
        }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.codeassist.contexts.NamespacePHPDocVarStartContext

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.