Class TmfOpenTraceHelper.OpenProjectElementJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.tracecompass.tmf.ui.project.model.TmfOpenTraceHelper.OpenProjectElementJob
- All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>
,org.eclipse.core.runtime.IAdaptable
- Enclosing class:
- TmfOpenTraceHelper
public static class TmfOpenTraceHelper.OpenProjectElementJob
extends org.eclipse.core.runtime.jobs.Job
Job that creates a new trace instance for the specified project element and
opens its associated editor.
- Since:
- 3.2
-
Field Summary
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
-
Constructor Summary
ConstructorDescriptionOpenProjectElementJob
(TmfCommonProjectElement traceElement, org.eclipse.core.resources.IFile file) Constructor -
Method Summary
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, belongsTo, cancel, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareTo
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Constructor Details
-
OpenProjectElementJob
public OpenProjectElementJob(TmfCommonProjectElement traceElement, org.eclipse.core.resources.IFile file) Constructor- Parameters:
traceElement
- the trace elementfile
- the editor file
-
-
Method Details
-
run
public org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor) -
getTrace
Get the new trace instance.- Returns:
- the new trace instance
-