Interface ITextEditorExtension

    • Method Detail

      • setStatusField

        void setStatusField​(IStatusField field,
                            String category)
        Informs the editor which status field is to be used when posting status information in the given category.
        field - the status field to be used
        category - the status information category
        See Also:
      • isEditorInputReadOnly

        boolean isEditorInputReadOnly()
        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
      • addRulerContextMenuListener

        void addRulerContextMenuListener​(IMenuListener listener)
        Adds a ruler context menu listener to the editor.
        listener - the listener
      • removeRulerContextMenuListener

        void removeRulerContextMenuListener​(IMenuListener listener)
        Removes a ruler context menu listener from the editor.
        listener - the listener