congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JTextField (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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