org.eclipse.xtext.ui.editor
Interface DirtyStateEditorSupport.IDirtyStateEditorSupportClient
- All Known Implementing Classes:
- AbstractDirtyStateAwareEditorCallback, NatureAddingEditorCallback, ValidatingEditorCallback, XtendNatureAddingEditorCallback
- Enclosing class:
- DirtyStateEditorSupport
public static interface DirtyStateEditorSupport.IDirtyStateEditorSupportClient
Minimal required interface for clients. Allows easy mocking.
- Author:
- Sebastian Zarnekow - Initial contribution and API
getDocument
IXtextDocument getDocument()
isDirty
boolean isDirty()
getShell
org.eclipse.swt.widgets.Shell getShell()
- May return
null
in headless environments.
addVerifyListener
void addVerifyListener(org.eclipse.swt.events.VerifyListener listener)
removeVerifyListener
void removeVerifyListener(org.eclipse.swt.events.VerifyListener listener)