| org.eclipse.ui.texteditor.ITextEditorExtension
All known Subclasses: org.eclipse.ui.texteditor.AbstractTextEditor,
ITextEditorExtension | public interface ITextEditorExtension (Code) | | Extension interface for
org.eclipse.ui.texteditor.ITextEditor . Adds
the following functions:
- status fields
- read-only state of the editor's input
- ruler context menu listeners.
since: 2.0 |
addRulerContextMenuListener | void addRulerContextMenuListener(IMenuListener listener)(Code) | | Adds a ruler context menu listener to the editor.
Parameters: listener - the listener |
isEditorInputReadOnly | boolean isEditorInputReadOnly()(Code) | | Returns whether the editor's input is read-only. The semantics of
this method is orthogonal to 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-only |
removeRulerContextMenuListener | void removeRulerContextMenuListener(IMenuListener listener)(Code) | | Removes a ruler context menu listener from the editor.
Parameters: listener - the listener |
setStatusField | void setStatusField(IStatusField field, String category)(Code) | | Informs the editor which status field is to be used when posting status
information in the given category.
Parameters: field - the status field to be used Parameters: category - the status information category See Also: ITextEditorActionConstants |
|
|