Tabnine Logo
ISubjectControlContentAssistProcessor
Code IndexAdd Tabnine to your IDE (free)

How to use
ISubjectControlContentAssistProcessor
in
org.eclipse.jface.contentassist

Best Java code snippets using org.eclipse.jface.contentassist.ISubjectControlContentAssistProcessor (Showing top 5 results out of 315)

origin: org.eclipse.platform/org.eclipse.jface.text

  @Override
  public void run() throws Exception {
    processors.forEach(p -> {
      ICompletionProposal[] proposals= p.computeCompletionProposals(viewer, offset);
      if (proposals != null) {
        res.addAll(Arrays.asList(proposals));
      }
      fLastErrorMessage= p.getErrorMessage();
    });
  }
});
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

  @Override
  public void run() throws Exception {
    result[0]= ((ISubjectControlContentAssistProcessor) p)
        .computeContextInformation(contentAssistSubjectControl, offset);
    fLastErrorMessage= p.getErrorMessage();
  }
});
origin: org.eclipse.platform/org.eclipse.jface.text

  @Override
  public boolean isContextInformationValid(int offset) {
    if (fContentAssistSubjectControl != null && fProcessor instanceof ISubjectControlContentAssistProcessor) {
      IContextInformation[] infos= ((ISubjectControlContentAssistProcessor)fProcessor).computeContextInformation(fContentAssistSubjectControl, offset);
      if (infos != null && infos.length > 0) {
        for (IContextInformation info : infos) {
          if (fContextInformation.equals(info))
            return true;
        }
      }
    }
    return false;
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

  @Override
  public void run() throws Exception {
    result[0]= ((ISubjectControlContentAssistProcessor) p)
        .computeCompletionProposals(contentAssistSubjectControl, offset);
    fLastErrorMessage= p.getErrorMessage();
  }
});
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

  @Override
  public boolean isContextInformationValid(int offset) {
    if (fContentAssistSubjectControl != null && fProcessor instanceof ISubjectControlContentAssistProcessor) {
      IContextInformation[] infos= ((ISubjectControlContentAssistProcessor)fProcessor).computeContextInformation(fContentAssistSubjectControl, offset);
      if (infos != null && infos.length > 0) {
        for (int i= 0; i < infos.length; i++) {
          if (fContextInformation.equals(infos[i]))
            return true;
        }
      }
    }
    return false;
  }
}
org.eclipse.jface.contentassistISubjectControlContentAssistProcessor

Javadoc

Extension interface for org.eclipse.jface.text.contentassist.IContentAssistProcessorwhich provides the context for the org.eclipse.jface.contentassist.ISubjectControlContentAssistant.

Most used methods

  • computeCompletionProposals
    Returns a list of completion proposals based on the specified location within the document that corr
  • computeContextInformation
    Returns information about possible contexts based on the specified location within the document that

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now