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

How to use
JavaSourceLookupDirector
in
org.eclipse.jdt.internal.launching

Best Java code snippets using org.eclipse.jdt.internal.launching.JavaSourceLookupDirector (Showing top 6 results out of 315)

origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching

@Override
public void initializeParticipants() {
  addParticipants(new ISourceLookupParticipant[] {new JavaSourceLookupParticipant()});
}
/* (non-Javadoc)
origin: cloudfoundry-attic/eclipse-integration-cloudfoundry

protected void setSourceLocator(ILaunch launch) throws CoreException {
  ILaunchConfiguration configuration = launch.getLaunchConfiguration();
  if (launch.getSourceLocator() == null) {
    ISourceLookupDirector sourceLocator = new JavaSourceLookupDirector();
    ISourcePathComputer locator = getLaunchManager().getSourcePathComputer(SOURCE_LOCATOR);
    if (locator != null) {
      sourceLocator.setSourcePathComputer(locator); //$NON-NLS-1$
      sourceLocator.initializeDefaults(configuration);
      launch.setSourceLocator(sourceLocator);
    }
  }
}
origin: xzer/run-jetty-run

ISourceLookupDirector sourceDir = new JavaSourceLookupDirector();
ILaunchConfigurationWorkingCopy workCopy = configuration.getWorkingCopy();
String initMemento = workCopy.getAttribute(
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching

/**
 * Assigns a default source locator to the given launch if a source locator
 * has not yet been assigned to it, and the associated launch configuration
 * does not specify a source locator.
 * 
 * @param launch
 *            launch object
 * @param configuration
 *            configuration being launched
 * @exception CoreException
 *                if unable to set the source locator
 */
protected void setDefaultSourceLocator(ILaunch launch,
    ILaunchConfiguration configuration) throws CoreException {
  //  set default source locator if none specified
  if (launch.getSourceLocator() == null) {
    ISourceLookupDirector sourceLocator = new JavaSourceLookupDirector();
    sourceLocator
        .setSourcePathComputer(getLaunchManager()
            .getSourcePathComputer(
                "org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer")); //$NON-NLS-1$
    sourceLocator.initializeDefaults(configuration);
    launch.setSourceLocator(sourceLocator);
  }
}
/**
origin: org.eclipse.jdt/org.eclipse.jdt.launching

@Override
public void initializeParticipants() {
  addParticipants(new ISourceLookupParticipant[] {new JavaSourceLookupParticipant()});
}
/* (non-Javadoc)
origin: org.eclipse.jdt/org.eclipse.jdt.launching

/**
 * Assigns a default source locator to the given launch if a source locator
 * has not yet been assigned to it, and the associated launch configuration
 * does not specify a source locator.
 *
 * @param launch
 *            launch object
 * @param configuration
 *            configuration being launched
 * @exception CoreException
 *                if unable to set the source locator
 */
protected void setDefaultSourceLocator(ILaunch launch,
    ILaunchConfiguration configuration) throws CoreException {
  //  set default source locator if none specified
  if (launch.getSourceLocator() == null) {
    ISourceLookupDirector sourceLocator = new JavaSourceLookupDirector();
    sourceLocator
        .setSourcePathComputer(getLaunchManager()
            .getSourcePathComputer(
                "org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer")); //$NON-NLS-1$
    sourceLocator.initializeDefaults(configuration);
    launch.setSourceLocator(sourceLocator);
  }
}
/**
org.eclipse.jdt.internal.launchingJavaSourceLookupDirector

Javadoc

Java source lookup director.

Most used methods

  • <init>
  • addParticipants

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Notification (javax.management)
  • JOptionPane (javax.swing)
  • Github Copilot 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