public class ValidatingEditorCallback extends AbstractDirtyStateAwareEditorCallback
IXtextEditorCallback.NullImpl
Constructor and Description |
---|
ValidatingEditorCallback() |
Modifier and Type | Method and Description |
---|---|
void |
afterCreatePartControl(XtextEditor editor) |
void |
afterSave(XtextEditor editor)
Announce that the given editor's state is the same as the persisted state.
|
addVerifyListener, afterSetInput, beforeDispose, beforeSetInput, getDocument, getShell, isDirty, onValidateEditorInputState, removeVerifyListener
public void afterCreatePartControl(XtextEditor editor)
afterCreatePartControl
in interface IXtextEditorCallback
afterCreatePartControl
in class AbstractDirtyStateAwareEditorCallback
public void afterSave(XtextEditor editor)
IXtextEditorCallback
afterSave
in interface IXtextEditorCallback
afterSave
in class AbstractDirtyStateAwareEditorCallback
editor
- the editor which has not any unsaved changes