org.eclipse.pde.core.target
public class LoadTargetDefinitionJob extends WorkspaceJob
| Constructor and Description |
|---|
LoadTargetDefinitionJob(ITargetDefinition target)
Constructs a new operation to load the specified target definition
as the current target platform.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsTo(Object family) |
static void |
load(ITargetDefinition target)
Constructs a new operation to load the specified target definition
as the current target platform.
|
static void |
load(ITargetDefinition target,
IJobChangeListener listener)
Constructs a new operation to load the specified target definition
as the current target platform.
|
IStatus |
runInWorkspace(IProgressMonitor monitor) |
addJobChangeListener, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRulegetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdapterpublic LoadTargetDefinitionJob(ITargetDefinition target)
null is specified
the target platform is empty and all other settings are default.
Clients should use load(ITargetDefinition, IJobChangeListener) instead to ensure
any existing jobs are cancelled.
target - target definition or null if nonepublic static void load(ITargetDefinition target)
null is specified
the target platform is empty and all other settings are default. This
method will cancel all existing LoadTargetDefinitionJob instances then
schedules the operation as a user job.target - target definition or null if nonepublic static void load(ITargetDefinition target, IJobChangeListener listener)
null is specified
the target platform is empty and all other settings are default. This
method will cancel all existing LoadTargetDefinitionJob instances then
schedules the operation as a user job. Adds the given listener to the
job that is started.target - target definition or null if nonelistener - job change listener that will be added to the created jobpublic IStatus runInWorkspace(IProgressMonitor monitor) throws CoreException
runInWorkspace in class WorkspaceJobCoreExceptionGuidelines for using Eclipse APIs. Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.