Tabnine Logo
IValidationCheckResultQueryFactory.create
Code IndexAdd Tabnine to your IDE (free)

How to use
create
method
in
org.eclipse.ltk.core.refactoring.IValidationCheckResultQueryFactory

Best Java code snippets using org.eclipse.ltk.core.refactoring.IValidationCheckResultQueryFactory.create (Showing top 4 results out of 315)

origin: org.eclipse.scout.sdk.deps/org.eclipse.ltk.core.refactoring

private IValidationCheckResultQuery getQuery(IAdaptable info, String title) {
  if (info == null)
    return RefactoringCore.getQueryFactory().create(null);
  IValidationCheckResultQuery result= info.getAdapter(IValidationCheckResultQuery.class);
  if (result != null)
    return result;
  ContextAdapter context= new ContextAdapter(info, title);
  return RefactoringCore.getQueryFactory().create(context);
}
origin: org.eclipse/org.eclipse.ltk.core.refactoring

private IValidationCheckResultQuery getQuery(IAdaptable info, String title) {
  if (info == null)
    return RefactoringCore.getQueryFactory().create(null);
  IValidationCheckResultQuery result= (IValidationCheckResultQuery)info.getAdapter(IValidationCheckResultQuery.class);
  if (result != null)
    return result;
  ContextAdapter context= new ContextAdapter(info, title);
  return RefactoringCore.getQueryFactory().create(context);
}

origin: org.eclipse.platform/org.eclipse.ltk.core.refactoring

private IValidationCheckResultQuery getQuery(IAdaptable info, String title) {
  if (info == null)
    return RefactoringCore.getQueryFactory().create(null);
  IValidationCheckResultQuery result= info.getAdapter(IValidationCheckResultQuery.class);
  if (result != null)
    return result;
  ContextAdapter context= new ContextAdapter(info, title);
  return RefactoringCore.getQueryFactory().create(context);
}
origin: org.eclipse/org.eclipse.ltk.ui.refactoring

  public IValidationCheckResultQuery create(IAdaptable context) {
    if (context != null) {
      Shell parent= (Shell)context.getAdapter(Shell.class);
      if (parent != null) {
        String title= (String)context.getAdapter(String.class);
        if (title != null) {
          return new ValidationCheckResultQuery(parent, title);
        }
      }
    }
    return fCoreQueryFactory.create(context);
  }
}
org.eclipse.ltk.core.refactoringIValidationCheckResultQueryFactorycreate

Javadoc

Creates a new query.

Popular methods of IValidationCheckResultQueryFactory

    Popular in Java

    • Making http requests using okhttp
    • compareTo (BigDecimal)
    • onRequestPermissionsResult (Fragment)
    • getApplicationContext (Context)
    • File (java.io)
      An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
    • FileNotFoundException (java.io)
      Thrown when a file specified by a program cannot be found.
    • Deque (java.util)
      A linear collection that supports element insertion and removal at both ends. The name deque is shor
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • BasicDataSource (org.apache.commons.dbcp)
      Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
    • Logger (org.slf4j)
      The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
    • Top PhpStorm plugins
    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