3.5.2. SWT toolkit tree

A tree in SWT is essentially the same as a tree in Swing, with an extra option to have checkboxes on the nodes of the tree. Use this component if you want to select or check the selection of checkboxes on an SWT tree. For other actions on trees use the tree component in the concrete toolkit.

Please keep in mind that it is not possible to object map nodes within the tree but to object map the tree as a whole only. In order to interact with single nodes you have to use the according actions.

Example Mockups

Figure 3.20.  SWT Tree Component

Available Actions



Copyright BREDEX GmbH 2015. Made available under the Eclipse Public License v1.0.