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 IXtextEditorCallbackpublic void afterSave(XtextEditor xtextEditor)
IXtextEditorCallbackafterSave in interface IXtextEditorCallbackxtextEditor - the editor which has not any unsaved changespublic void beforeDispose(XtextEditor xtextEditor)
beforeDispose in interface IXtextEditorCallbackpublic boolean onValidateEditorInputState(XtextEditor xtextEditor)
onValidateEditorInputState in interface IXtextEditorCallbackpublic void beforeSetInput(XtextEditor xtextEditor)
beforeSetInput in interface IXtextEditorCallbackpublic void afterSetInput(XtextEditor xtextEditor)
afterSetInput in interface IXtextEditorCallback