org.eclipse.epf.richtext
Interface IRichTextEditor

All Superinterfaces:
IRichText
All Known Implementing Classes:
RichTextEditor

public interface IRichTextEditor
extends IRichText

The interface for a rich text editor.

A rich text editor is a composite user interface object that includes a tool bar, a tab folder for entering the rich text content, and a tab foler for viewing and modifying the rich text content in a markup language.

Since:
1.0
Author:
Kelvin Low

Field Summary
 
Fields inherited from interface org.eclipse.epf.richtext.IRichText
PROPERTY_NAME
 
Method Summary
 void fillToolBar(IRichTextToolBar toolBar)
          Fills the tool bar with action items.
 void setSelection(int index)
          Selects the rich text or the markup lanaguge tab.
 
Methods inherited from interface org.eclipse.epf.richtext.IRichText
addDisposeListener, addHelpListener, addKeyListener, addListener, addModifyListener, dispose, executeCommand, executeCommand, executeCommand, getBasePath, getControl, getData, getEditable, getLayoutData, getListeners, getModified, getModifyListeners, getSelectedText, getText, hasFocus, isDisposed, removeDisposeListener, removeHelpListener, removeKeyListener, removeListener, removeModifyListener, restoreText, setData, setEditable, setFocus, setLayoutData, setModified, setText
 

Method Detail

fillToolBar

public void fillToolBar(IRichTextToolBar toolBar)
Fills the tool bar with action items.

Parameters:
toolBar - a tool bar contain rich text actions

setSelection

public void setSelection(int index)
Selects the rich text or the markup lanaguge tab.

Parameters:
index - 0 for the rich text tab, 1 for the mark up language tab