public class SyncUtil
extends java.lang.Object
Constructor and Description |
---|
SyncUtil() |
Modifier and Type | Method and Description |
---|---|
void |
reconcileAllEditors(org.eclipse.ui.IWorkbench workbench,
boolean saveAll,
org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
totalSync(boolean saveAll) |
void |
totalSync(boolean saveAll,
boolean useProgressDialog) |
void |
totalSync(boolean saveAll,
boolean useProgressDialog,
boolean fork) |
void |
waitForAutoBuild(org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated.
we should not rely on auto build to be triggered. Use
waitForBuild(IProgressMonitor)
instead. |
void |
waitForBuild(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
waitForReconciler(XtextEditor editor)
this methods blocks until the following jobs have finished,
- the reconciler
- the editor validation job
- the dirty state editor updater job
|
void |
yieldToQueuedDisplayJobs(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
yieldToQueuedDisplayJobs(org.eclipse.core.runtime.IProgressMonitor monitor,
int maxJobsToYieldTo) |
public void totalSync(boolean saveAll, boolean useProgressDialog) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public void totalSync(boolean saveAll, boolean useProgressDialog, boolean fork) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public void totalSync(boolean saveAll) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public void reconcileAllEditors(org.eclipse.ui.IWorkbench workbench, boolean saveAll, org.eclipse.core.runtime.IProgressMonitor monitor)
public void waitForReconciler(XtextEditor editor)
public void waitForBuild(org.eclipse.core.runtime.IProgressMonitor monitor)
@Deprecated public void waitForAutoBuild(org.eclipse.core.runtime.IProgressMonitor monitor)
waitForBuild(IProgressMonitor)
instead.public void yieldToQueuedDisplayJobs(org.eclipse.core.runtime.IProgressMonitor monitor)
public void yieldToQueuedDisplayJobs(org.eclipse.core.runtime.IProgressMonitor monitor, int maxJobsToYieldTo)