org.eclipse.xtext.ui.editor
Interface IXtextEditorCallback

All Known Implementing Classes:
AbstractDirtyStateAwareEditorCallback, CompoundXtextEditorCallback, IXtextEditorCallback.NullImpl, NatureAddingEditorCallback, ValidatingEditorCallback, XtextEditorErrorTickUpdater

public interface IXtextEditorCallback

Author:
Sven Efftinge - Initial contribution and API, Michael Clay

Nested Class Summary
static class IXtextEditorCallback.NullImpl
           
 
Method Summary
 void afterCreatePartControl(XtextEditor editor)
           
 void afterSave(XtextEditor editor)
          Announce that the given editor's state is the same as the persisted state.
 void afterSetInput(XtextEditor xtextEditor)
           
 void beforeDispose(XtextEditor editor)
           
 void beforeSetInput(XtextEditor xtextEditor)
           
 boolean onValidateEditorInputState(XtextEditor editor)
           
 

Method Detail

beforeSetInput

void beforeSetInput(XtextEditor xtextEditor)

afterSetInput

void afterSetInput(XtextEditor xtextEditor)

afterCreatePartControl

void afterCreatePartControl(XtextEditor editor)

afterSave

void afterSave(XtextEditor editor)
Announce that the given editor's state is the same as the persisted state.

Parameters:
editor - the editor which has not any unsaved changes

beforeDispose

void beforeDispose(XtextEditor editor)

onValidateEditorInputState

boolean onValidateEditorInputState(XtextEditor editor)