|
|||||||||
| Home >> All >> org >> eclipse >> ui >> [ texteditor overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.ui.texteditor
Interface ITextEditorExtension

- All Known Implementing Classes:
- AbstractTextEditor
- public interface ITextEditorExtension
Extension interface for ITextEditor. Adds the following functions:
- status fields
- read-only state of the editor's input
- ruler context menu listeners.
- Since:
- 2.0
| Method Summary | |
void |
addRulerContextMenuListener(org.eclipse.jface.action.IMenuListener listener)
Adds a ruler context menu listener to the editor. |
boolean |
isEditorInputReadOnly()
Returns whether the editor's input is read-only. |
void |
removeRulerContextMenuListener(org.eclipse.jface.action.IMenuListener listener)
Removes a ruler context menu listener from the editor. |
void |
setStatusField(IStatusField field,
java.lang.String category)
Informs the editor which status field is to be used when posting status information in the given category. |
| Method Detail |
setStatusField
public void setStatusField(IStatusField field, java.lang.String category)
- Informs the editor which status field is to be used when posting status
information in the given category.
isEditorInputReadOnly
public boolean isEditorInputReadOnly()
- Returns whether the editor's input is read-only. The semantics of
this method is orthogonal to
isEditableas it talks about the editor input, i.e. the domain element, and not about the editor document.
addRulerContextMenuListener
public void addRulerContextMenuListener(org.eclipse.jface.action.IMenuListener listener)
- Adds a ruler context menu listener to the editor.
removeRulerContextMenuListener
public void removeRulerContextMenuListener(org.eclipse.jface.action.IMenuListener listener)
- Removes a ruler context menu listener from the editor.
|
|||||||||
| Home >> All >> org >> eclipse >> ui >> [ texteditor overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC