public class ContentFormatterFactory.FormattingUnitOfWork extends java.lang.Object implements IUnitOfWork<ReplaceRegion,XtextResource>
ReplaceRegion
instead of the ReplaceRegion
.IUnitOfWork.Void<T>
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jface.text.IRegion |
region |
Constructor and Description |
---|
ContentFormatterFactory.FormattingUnitOfWork(org.eclipse.jface.text.IRegion region) |
Modifier and Type | Method and Description |
---|---|
ReplaceRegion |
exec(XtextResource state) |
public ContentFormatterFactory.FormattingUnitOfWork(org.eclipse.jface.text.IRegion region)
public ReplaceRegion exec(XtextResource state) throws java.lang.Exception
exec
in interface IUnitOfWork<ReplaceRegion,XtextResource>
state
- - The state, which is synchronized while this method is executed
Do not return any references to something contained in this resourcejava.lang.Exception