Package com._1c.g5.v8.dt.lcore.ui.editor
Class AutosaveCallback
- java.lang.Object
-
- com._1c.g5.v8.dt.lcore.ui.editor.AutosaveCallback
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.IXtextEditorCallback
public class AutosaveCallback extends Object implements org.eclipse.xtext.ui.editor.IXtextEditorCallback
-
-
Constructor Summary
Constructors Constructor Description AutosaveCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterCreatePartControl(org.eclipse.xtext.ui.editor.XtextEditor editor)
void
afterSave(org.eclipse.xtext.ui.editor.XtextEditor editor)
void
afterSetInput(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
void
beforeDispose(org.eclipse.xtext.ui.editor.XtextEditor editor)
void
beforeSetInput(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
protected void
initAutosaving()
Initialize Xtext editor autosaving.boolean
onValidateEditorInputState(org.eclipse.xtext.ui.editor.XtextEditor editor)
-
-
-
Method Detail
-
beforeSetInput
public void beforeSetInput(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
- Specified by:
beforeSetInput
in interfaceorg.eclipse.xtext.ui.editor.IXtextEditorCallback
-
afterSetInput
public void afterSetInput(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
- Specified by:
afterSetInput
in interfaceorg.eclipse.xtext.ui.editor.IXtextEditorCallback
-
afterCreatePartControl
public void afterCreatePartControl(org.eclipse.xtext.ui.editor.XtextEditor editor)
- Specified by:
afterCreatePartControl
in interfaceorg.eclipse.xtext.ui.editor.IXtextEditorCallback
-
afterSave
public void afterSave(org.eclipse.xtext.ui.editor.XtextEditor editor)
- Specified by:
afterSave
in interfaceorg.eclipse.xtext.ui.editor.IXtextEditorCallback
-
beforeDispose
public void beforeDispose(org.eclipse.xtext.ui.editor.XtextEditor editor)
- Specified by:
beforeDispose
in interfaceorg.eclipse.xtext.ui.editor.IXtextEditorCallback
-
onValidateEditorInputState
public boolean onValidateEditorInputState(org.eclipse.xtext.ui.editor.XtextEditor editor)
- Specified by:
onValidateEditorInputState
in interfaceorg.eclipse.xtext.ui.editor.IXtextEditorCallback
-
initAutosaving
protected void initAutosaving()
Initialize Xtext editor autosaving.
-
-