org.eclipse.xtext.ui.editor
Class CompoundXtextEditorCallback
java.lang.Object
org.eclipse.xtext.ui.editor.CompoundXtextEditorCallback
- All Implemented Interfaces:
- IXtextEditorCallback
public class CompoundXtextEditorCallback
- extends java.lang.Object
- implements IXtextEditorCallback
- Author:
- Michael Clay - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundXtextEditorCallback
@Inject
public CompoundXtextEditorCallback(com.google.inject.Injector injector)
handle
protected void handle(java.lang.Exception e)
afterCreatePartControl
public void afterCreatePartControl(XtextEditor xtextEditor)
- Specified by:
afterCreatePartControl
in interface IXtextEditorCallback
afterSave
public void afterSave(XtextEditor xtextEditor)
- Description copied from interface:
IXtextEditorCallback
- Announce that the given editor's state is the same as the persisted state.
- Specified by:
afterSave
in interface IXtextEditorCallback
- Parameters:
xtextEditor
- the editor which has not any unsaved changes
beforeDispose
public void beforeDispose(XtextEditor xtextEditor)
- Specified by:
beforeDispose
in interface IXtextEditorCallback
onValidateEditorInputState
public boolean onValidateEditorInputState(XtextEditor xtextEditor)
- Specified by:
onValidateEditorInputState
in interface IXtextEditorCallback
beforeSetInput
public void beforeSetInput(XtextEditor xtextEditor)
- Specified by:
beforeSetInput
in interface IXtextEditorCallback
afterSetInput
public void afterSetInput(XtextEditor xtextEditor)
- Specified by:
afterSetInput
in interface IXtextEditorCallback