public class AdvancedSourceLookupSupport
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_sourceContainerResolvers |
static java.lang.String |
ID_workspaceProjectDescribers |
| Modifier and Type | Method and Description |
|---|---|
static ILaunch |
createAdvancedLaunch(ILaunchConfiguration configuration,
java.lang.String mode)
Returns a launch object to use when launching the given launch configuration in the given mode.
|
static IPersistableSourceLocator |
createSourceLocator(java.lang.String type,
ILaunchConfiguration configuration)
Creates and returns new
IPersistableSourceLocator of the specified type and with the provided configuration. |
static IProgressMonitor |
getContextMonitor(IProgressMonitor monitor)
Workaround a deficiency of ISourceLookupParticipant API, which does not provide access to a progress monitor.
|
static java.lang.String |
getJavaagentLocation() |
static java.lang.String |
getJavaagentString() |
static WorkspaceProjectSourceContainers |
getWorkspaceJavaProjects(IProgressMonitor monitor) |
static boolean |
isAdvancedSourcelookupEnabled() |
static void |
schedule(IRunnableWithProgress task) |
static void |
start() |
static void |
stop() |
public static final java.lang.String ID_sourceContainerResolvers
public static final java.lang.String ID_workspaceProjectDescribers
public static void start()
public static void stop()
public static void schedule(IRunnableWithProgress task)
public static WorkspaceProjectSourceContainers getWorkspaceJavaProjects(IProgressMonitor monitor) throws CoreException
CoreExceptionpublic static java.lang.String getJavaagentString()
public static java.lang.String getJavaagentLocation()
public static IProgressMonitor getContextMonitor(IProgressMonitor monitor)
This method can be called in three different cases:
null is return. this tells the caller to only perform fast operations (i.e. cache lookups) on this
thread and submit any long-running operations as background jobs
NullProgressMonitor is returned.
public static ILaunch createAdvancedLaunch(ILaunchConfiguration configuration,
java.lang.String mode)
throws CoreException
AdvancedSourceLookupDirector as the source locator.CoreExceptionpublic static IPersistableSourceLocator createSourceLocator(java.lang.String type,
ILaunchConfiguration configuration)
throws CoreException
IPersistableSourceLocator of the specified type and with the provided configuration.CoreExceptionpublic static boolean isAdvancedSourcelookupEnabled()