org.eclipse.xtext.ui.editor
Interface IXtextEditorCallback
- All Known Implementing Classes:
- AbstractDirtyStateAwareEditorCallback, CompoundXtextEditorCallback, IXtextEditorCallback.NullImpl, NatureAddingEditorCallback, OverrideIndicatorModelListener, ValidatingEditorCallback, XtendNatureAddingEditorCallback, XtextEditorErrorTickUpdater
public interface IXtextEditorCallback
- Author:
- Sven Efftinge - Initial contribution and API, Michael Clay
beforeSetInput
void beforeSetInput(XtextEditor xtextEditor)
afterSetInput
void afterSetInput(XtextEditor xtextEditor)
afterCreatePartControl
void afterCreatePartControl(XtextEditor editor)
afterSave
void afterSave(XtextEditor editor)
- Announce that the given editor's state is the same as the persisted state.
- Parameters:
editor
- the editor which has not any unsaved changes
beforeDispose
void beforeDispose(XtextEditor editor)
onValidateEditorInputState
boolean onValidateEditorInputState(XtextEditor editor)