public class CompoundXtextEditorCallback extends java.lang.Object implements IXtextEditorCallback
IXtextEditorCallback.NullImpl
Constructor and Description |
---|
CompoundXtextEditorCallback(com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
void |
afterCreatePartControl(XtextEditor xtextEditor) |
void |
afterSave(XtextEditor xtextEditor)
Announce that the given editor's state is the same as the persisted state.
|
void |
afterSetInput(XtextEditor xtextEditor) |
void |
beforeDispose(XtextEditor xtextEditor) |
void |
beforeSetInput(XtextEditor xtextEditor) |
protected void |
handle(java.lang.Exception e) |
boolean |
onValidateEditorInputState(XtextEditor xtextEditor) |
@Inject public CompoundXtextEditorCallback(com.google.inject.Injector injector)
protected void handle(java.lang.Exception e)
public void afterCreatePartControl(XtextEditor xtextEditor)
afterCreatePartControl
in interface IXtextEditorCallback
public void afterSave(XtextEditor xtextEditor)
IXtextEditorCallback
afterSave
in interface IXtextEditorCallback
xtextEditor
- the editor which has not any unsaved changespublic void beforeDispose(XtextEditor xtextEditor)
beforeDispose
in interface IXtextEditorCallback
public boolean onValidateEditorInputState(XtextEditor xtextEditor)
onValidateEditorInputState
in interface IXtextEditorCallback
public void beforeSetInput(XtextEditor xtextEditor)
beforeSetInput
in interface IXtextEditorCallback
public void afterSetInput(XtextEditor xtextEditor)
afterSetInput
in interface IXtextEditorCallback