Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
An enhanced separator, with a title and/or an image.
The titled separator is composed of a text and optionally an image, initialized by the methods
You can change the alignment of the text (left, center, right) by using the method
setAlignment(int value) with the following values : SWT.RIGHT, SWT.CENTER and SWT.LEFT.
Finally, you can change the foreground color, the background color and the font by using the setters
An example called TitledSeparatorSnippet.java is located in the plugin org.eclipse.nebula.widgets.opal.titledseparator.snippets.
This example is also available here : TitledSeparatorSnippet.java