DirtyStateEditorSupport is directly served by the XtextEditor@Deprecated public abstract class AbstractDirtyStateAwareEditorCallback extends Object implements IXtextEditorCallback, DirtyStateEditorSupport.IDirtyStateEditorSupportClient
IXtextEditorCallback.NullImpl| Constructor and Description |
|---|
AbstractDirtyStateAwareEditorCallback()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVerifyListener(org.eclipse.swt.events.VerifyListener listener)
Deprecated.
|
void |
afterCreatePartControl(XtextEditor editor)
Deprecated.
|
void |
afterSave(XtextEditor editor)
Deprecated.
Announce that the given editor's state is the same as the persisted state.
|
void |
afterSetInput(XtextEditor editor)
Deprecated.
|
void |
beforeDispose(XtextEditor editor)
Deprecated.
|
void |
beforeSetInput(XtextEditor editor)
Deprecated.
|
IXtextDocument |
getDocument()
Deprecated.
|
org.eclipse.swt.widgets.Shell |
getShell()
Deprecated.
May return
null in headless environments. |
boolean |
isDirty()
Deprecated.
|
boolean |
onValidateEditorInputState(XtextEditor editor)
Deprecated.
|
void |
removeVerifyListener(org.eclipse.swt.events.VerifyListener listener)
Deprecated.
|
public AbstractDirtyStateAwareEditorCallback()
public void afterCreatePartControl(XtextEditor editor)
afterCreatePartControl in interface IXtextEditorCallbackpublic void beforeDispose(XtextEditor editor)
beforeDispose in interface IXtextEditorCallbackpublic void afterSave(XtextEditor editor)
IXtextEditorCallbackafterSave in interface IXtextEditorCallbackeditor - the editor which has not any unsaved changespublic boolean onValidateEditorInputState(XtextEditor editor)
onValidateEditorInputState in interface IXtextEditorCallbackpublic void beforeSetInput(XtextEditor editor)
beforeSetInput in interface IXtextEditorCallbackpublic void afterSetInput(XtextEditor editor)
afterSetInput in interface IXtextEditorCallbackpublic boolean isDirty()
isDirty in interface DirtyStateEditorSupport.IDirtyStateEditorSupportClientpublic IXtextDocument getDocument()
getDocument in interface DirtyStateEditorSupport.IDirtyStateEditorSupportClientpublic void addVerifyListener(org.eclipse.swt.events.VerifyListener listener)
addVerifyListener in interface DirtyStateEditorSupport.IDirtyStateEditorSupportClientpublic org.eclipse.swt.widgets.Shell getShell()
DirtyStateEditorSupport.IDirtyStateEditorSupportClientnull in headless environments.getShell in interface DirtyStateEditorSupport.IDirtyStateEditorSupportClientpublic void removeVerifyListener(org.eclipse.swt.events.VerifyListener listener)
removeVerifyListener in interface DirtyStateEditorSupport.IDirtyStateEditorSupportClientCopyright © 2016. All Rights Reserved.