public abstract class SynchronizeModelOperation extends TeamOperation
ISynchronizeModelElement
elements. If
the operation is run in the background the elements the operation is created
with will be updated to show that they are busy while the operation is
running and will be marked un-busy after the operation completes.SyncInfoSet
,
SynchronizeModelAction
Modifier | Constructor and Description |
---|---|
protected |
SynchronizeModelOperation(ISynchronizePageConfiguration configuration,
IDiffElement[] elements)
Create an operation that will operate on the given diff elements.
|
Modifier and Type | Method and Description |
---|---|
void |
done(IJobChangeEvent event)
Notification that a job has completed execution, either due to cancelation, successful
completion, or failure.
|
protected SyncInfoSet |
getSyncInfoSet()
Returns a sync info set that contains the
SyncInfo for the
elements of this operations. |
void |
scheduled(IJobChangeEvent event)
Notification that a job is being added to the queue of scheduled jobs.
|
belongsTo, canRunAsJob, getGotoAction, getJobName, getKeepOperation, getOperationIcon, getPart, getSchedulingRule, getShell, isKeepOneProgressServiceEntry, isPostponeAutobuild, isSameFamilyAs, isUserInitiated, run, shouldRun
aboutToRun, awake, running, sleeping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
protected SynchronizeModelOperation(ISynchronizePageConfiguration configuration, IDiffElement[] elements)
configuration
- the participant configuration in which this
operation is runelements
- the model elements this operation will run withprotected SyncInfoSet getSyncInfoSet()
SyncInfo
for the
elements of this operations.public void scheduled(IJobChangeEvent event)
IJobChangeListener
scheduled
in interface IJobChangeListener
scheduled
in class JobChangeAdapter
event
- the event details, including the job instance and the scheduling
delaypublic void done(IJobChangeEvent event)
IJobChangeListener
done
in interface IJobChangeListener
done
in class JobChangeAdapter
event
- the event details
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.