Class IXtextFile.ModifyingUnitOfWorkWithDelegate
- java.lang.Object
-
- org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<org.eclipse.xtext.resource.XtextResource>
-
- com._1c.g5.ides.core.handle.xtext.IXtextFile.ModifyingUnitOfWork
-
- com._1c.g5.ides.core.handle.xtext.IXtextFile.ModifyingUnitOfWorkWithDelegate
-
- All Implemented Interfaces:
IXtextFile.IModifyingUnitOfWork<Object>
,org.eclipse.xtext.util.concurrent.IUnitOfWork<Object,org.eclipse.xtext.resource.XtextResource>
- Enclosing interface:
- IXtextFile
public static class IXtextFile.ModifyingUnitOfWorkWithDelegate extends IXtextFile.ModifyingUnitOfWork
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.util.concurrent.IUnitOfWork
org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description ModifyingUnitOfWorkWithDelegate(org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<org.eclipse.xtext.resource.XtextResource> delegate)
Creates a delegating undoable unit of work that will not be retried.ModifyingUnitOfWorkWithDelegate(org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<org.eclipse.xtext.resource.XtextResource> delegate, int maxRetries)
Creates a delegating undoable unit of work that can be retried the given number of times.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(org.eclipse.xtext.resource.XtextResource resource)
-
Methods inherited from class com._1c.g5.ides.core.handle.xtext.IXtextFile.ModifyingUnitOfWork
acceptUndoChange, getUndoChange, newBufferChange, shouldRetry
-
-
-
-
Constructor Detail
-
ModifyingUnitOfWorkWithDelegate
public ModifyingUnitOfWorkWithDelegate(org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<org.eclipse.xtext.resource.XtextResource> delegate)
Creates a delegating undoable unit of work that will not be retried.- Parameters:
delegate
- the delegate unit of work (notnull
)
-
ModifyingUnitOfWorkWithDelegate
public ModifyingUnitOfWorkWithDelegate(org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<org.eclipse.xtext.resource.XtextResource> delegate, int maxRetries)
Creates a delegating undoable unit of work that can be retried the given number of times.- Parameters:
delegate
- the delegate unit of work (notnull
)maxRetries
-
-
-