|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITextEditorExtension
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 |
|---|
void setStatusField(IStatusField field,
String category)
field - the status field to be usedcategory - the status information categoryITextEditorActionConstantsboolean 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
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.