|SWT RichTextEditor Overview|
The SWT RichTextEditor is a library providing a widget containing a StyledText field with a toolbar allowing the editing of styles in the text area. This is illustrated as follows:
The library provides a clean interface and base implementation which can be specialised for specific formats. A HTML implementation is also provided by the library. This means you don't have to write any code to convert between HTML and the styles used by the SWT StyledText widget. This is illustrated as follows:
The library is also flexible with respect to the features it provides through the user interface. This means various aspects of the functionality can be disabled to restrict the user interface where appropriate. The following example shows fewer toolbar items than the first example provided.
Notice also in the example above that different toolbar images are used and different styles have been applied to conform with the Eclipse editor L&F.
|< Prev||Next >|