|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for ITextEditor
. Adds the following functions:
Method Summary | |
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. |
Method Detail |
public void setStatusField(IStatusField field, String category)
field
- the status field to be usedcategory
- the status information categoryITextEditorActionConstants
public 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-onlypublic void addRulerContextMenuListener(IMenuListener listener)
listener
- the listenerpublic void removeRulerContextMenuListener(IMenuListener listener)
listener
- the listener
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |