public class DefaultTextEditComposer extends org.eclipse.emf.ecore.util.EContentAdapter implements ITextEditComposer
Constructor and Description |
---|
DefaultTextEditComposer() |
Modifier and Type | Method and Description |
---|---|
void |
beginRecording(org.eclipse.emf.ecore.resource.Resource newResource) |
protected boolean |
doRecord(org.eclipse.emf.common.notify.Notification notification) |
org.eclipse.text.edits.TextEdit |
endRecording() |
protected java.util.Collection<org.eclipse.emf.ecore.EObject> |
getModifiedObjects() |
protected java.util.List<org.eclipse.text.edits.TextEdit> |
getObjectEdits() |
protected SaveOptions |
getSaveOptions() |
org.eclipse.text.edits.TextEdit |
getTextEdit() |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification) |
protected void |
recordObjectModification(org.eclipse.emf.ecore.EObject obj) |
protected void |
recordResourceModification(org.eclipse.emf.ecore.resource.Resource notifier) |
protected void |
reset() |
void |
setSerializer(ISerializer serializer)
If used in a non-Guice environment, we need to be able to set this.
|
void |
setSerializerUtil(ISerializer serializer)
Deprecated.
use
setSerializer(ISerializer) instead. |
addAdapter, basicSetTarget, basicUnsetTarget, handleContainment, removeAdapter, resolve, selfAdapt, setTarget, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
notifyChanged
in class org.eclipse.emf.ecore.util.EContentAdapter
protected void recordObjectModification(org.eclipse.emf.ecore.EObject obj)
protected void recordResourceModification(org.eclipse.emf.ecore.resource.Resource notifier)
protected java.util.Collection<org.eclipse.emf.ecore.EObject> getModifiedObjects()
protected boolean doRecord(org.eclipse.emf.common.notify.Notification notification)
protected void reset()
public void beginRecording(org.eclipse.emf.ecore.resource.Resource newResource)
beginRecording
in interface ITextEditComposer
public org.eclipse.text.edits.TextEdit endRecording()
endRecording
in interface ITextEditComposer
public org.eclipse.text.edits.TextEdit getTextEdit()
getTextEdit
in interface ITextEditComposer
protected java.util.List<org.eclipse.text.edits.TextEdit> getObjectEdits()
protected SaveOptions getSaveOptions()
@Deprecated public void setSerializerUtil(ISerializer serializer)
setSerializer(ISerializer)
instead.public void setSerializer(ISerializer serializer)