diff options
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditor.java')
-rw-r--r-- | org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditor.java | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditor.java index f3867eabe0f..f894bc5b248 100644 --- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditor.java +++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditor.java @@ -23,34 +23,39 @@ import org.eclipse.ui.IEditorPart; /** * Interface to a text editor. This interface defines functional extensions to - * <code>IEditorPart</code> as well as the configuration capabilities of a text editor. + * <code>IEditorPart</code> as well as the configuration capabilities of a text + * editor. * <p> - * Text editors are configured with an <code>IDocumentProvider</code> which delivers a textual - * presentation (<code>IDocument</code>) of the editor's input. The editor works on the document and - * forwards all input element related calls, such as <code>save</code>, to the document provider. - * The provider also delivers the input's annotation model which is used by the editor's vertical - * ruler. + * Text editors are configured with an <code>IDocumentProvider</code> which + * delivers a textual presentation (<code>IDocument</code>) of the editor's + * input. The editor works on the document and forwards all input element + * related calls, such as <code>save</code>, to the document provider. The + * provider also delivers the input's annotation model which is used by the + * editor's vertical ruler. * </p> * <p> - * Clients may implement this interface from scratch, but the recommended way is to subclass the - * abstract base class <code>AbstractTextEditor</code>. + * Clients may implement this interface from scratch, but the recommended way is + * to subclass the abstract base class <code>AbstractTextEditor</code>. * </p> * <p> - * In order to provided backward compatibility for clients of <code>ITextEditor</code>, extension - * interfaces are used to provide a means of evolution. The following extension interfaces exist: + * In order to provided backward compatibility for clients of + * <code>ITextEditor</code>, extension interfaces are used to provide a means of + * evolution. The following extension interfaces exist: + * </p> * <ul> - * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension} since version 2.0 introducing status - * fields, read-only state and ruler context menu listeners.</li> - * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension2} since version 2.1 introducing - * modifiable state for the editor input and validate state handling.</li> - * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension3} since version 3.0 adding input state - * and change information control.</li> - * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension4} since version 3.2 adding annotation - * navigation and revision information display.</li> - * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension5} since version 3.5 adding block - * selection mode.</li> + * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension} since version 2.0 + * introducing status fields, read-only state and ruler context menu + * listeners.</li> + * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension2} since version 2.1 + * introducing modifiable state for the editor input and validate state + * handling.</li> + * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension3} since version 3.0 + * adding input state and change information control.</li> + * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension4} since version 3.2 + * adding annotation navigation and revision information display.</li> + * <li>{@link org.eclipse.ui.texteditor.ITextEditorExtension5} since version 3.5 + * adding block selection mode.</li> * </ul> - * </p> * * @see org.eclipse.ui.texteditor.IDocumentProvider * @see org.eclipse.jface.text.source.IAnnotationModel |