public interface ITextEditorExtension
ITextEditor
. Adds
the following functions:
Modifier and Type | Method and Description |
---|---|
void |
addRulerContextMenuListener(IMenuListener listener)
Adds a ruler context menu listener to the editor.
|
boolean |
isEditorInputReadOnly()
Returns whether the editor's input is read-only.
|
void |
removeRulerContextMenuListener(IMenuListener listener)
Removes a ruler context menu listener from the editor.
|
void |
setStatusField(IStatusField field,
String category)
Informs the editor which status field is to be used when posting status
information in the given category.
|
void setStatusField(IStatusField field, String category)
field
- the status field to be usedcategory
- the status information categoryITextEditorActionConstants
boolean isEditorInputReadOnly()
isEditable
as it talks about the
editor input, i.e. the domain element, and not about the editor
document.true
if the editor input is read-onlyvoid addRulerContextMenuListener(IMenuListener listener)
listener
- the listenervoid removeRulerContextMenuListener(IMenuListener listener)
listener
- the listener
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.