Class AutosaveCallback

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.IXtextEditorCallback

    public class AutosaveCallback
    extends Object
    implements org.eclipse.xtext.ui.editor.IXtextEditorCallback
    • Constructor Detail

      • AutosaveCallback

        public AutosaveCallback()
    • Method Detail

      • beforeSetInput

        public void beforeSetInput​(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
        Specified by:
        beforeSetInput in interface org.eclipse.xtext.ui.editor.IXtextEditorCallback
      • afterSetInput

        public void afterSetInput​(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
        Specified by:
        afterSetInput in interface org.eclipse.xtext.ui.editor.IXtextEditorCallback
      • afterCreatePartControl

        public void afterCreatePartControl​(org.eclipse.xtext.ui.editor.XtextEditor editor)
        Specified by:
        afterCreatePartControl in interface org.eclipse.xtext.ui.editor.IXtextEditorCallback
      • afterSave

        public void afterSave​(org.eclipse.xtext.ui.editor.XtextEditor editor)
        Specified by:
        afterSave in interface org.eclipse.xtext.ui.editor.IXtextEditorCallback
      • beforeDispose

        public void beforeDispose​(org.eclipse.xtext.ui.editor.XtextEditor editor)
        Specified by:
        beforeDispose in interface org.eclipse.xtext.ui.editor.IXtextEditorCallback
      • onValidateEditorInputState

        public boolean onValidateEditorInputState​(org.eclipse.xtext.ui.editor.XtextEditor editor)
        Specified by:
        onValidateEditorInputState in interface org.eclipse.xtext.ui.editor.IXtextEditorCallback
      • initAutosaving

        protected void initAutosaving()
        Initialize Xtext editor autosaving.