|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.jobs.JobChangeAdapter
org.eclipse.team.ui.TeamOperation
org.eclipse.team.ui.synchronize.SynchronizeModelOperation
public abstract class SynchronizeModelOperation
A specialized team operation that operates on
ISynchronizeModelElementelements. 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| Constructor Summary | |
|---|---|
protected |
SynchronizeModelOperation(ISynchronizePageConfiguration configuration,
IDiffElement[] elements)
Create an operation that will operate on the given diff elements. |
| Method Summary | |
|---|---|
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 SyncInfofor the
elements of this operations. |
void |
scheduled(IJobChangeEvent event)
Notification that a job is being added to the queue of scheduled jobs. |
| Methods inherited from class org.eclipse.team.ui.TeamOperation |
|---|
belongsTo, canRunAsJob, getGotoAction, getJobName, getKeepOperation, getOperationIcon, getPart, getSchedulingRule, getShell, isKeepOneProgressServiceEntry, isPostponeAutobuild, isSameFamilyAs, isUserInitiated, run, shouldRun |
| Methods inherited from class org.eclipse.core.runtime.jobs.JobChangeAdapter |
|---|
aboutToRun, awake, running, sleeping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.operation.IRunnableWithProgress |
|---|
run |
| Constructor Detail |
|---|
protected SynchronizeModelOperation(ISynchronizePageConfiguration configuration,
IDiffElement[] elements)
configuration - the participant configuration in which this
operation is runelements - the model elements this operation will run with| Method Detail |
|---|
protected SyncInfoSet getSyncInfoSet()
SyncInfofor the
elements of this operations.
public void scheduled(IJobChangeEvent event)
IJobChangeListener
scheduled in interface IJobChangeListenerscheduled in class JobChangeAdapterevent - the event details, including the job instance and the scheduling
delaypublic void done(IJobChangeEvent event)
IJobChangeListener
done in interface IJobChangeListenerdone in class JobChangeAdapterevent - the event details
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.