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 |
syncAllEditors(org.eclipse.ui.IWorkbench workbench,
boolean saveAll,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated.
|
void |
totalSync(boolean saveAll) |
void |
totalSync(boolean saveAll,
boolean useProgressDialog) |
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) |
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) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
@Deprecated public void syncAllEditors(org.eclipse.ui.IWorkbench workbench, boolean saveAll, org.eclipse.core.runtime.IProgressMonitor monitor)
reconcileAllEditors(IWorkbench, boolean, IProgressMonitor)
insteadpublic 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)