Although SWT provides a direct interface to the native platform widgets, it is limited to using simple data types—primarily strings, numbers, and images. This is fine for a large number of applications, but it represents a severe impedance mismatch when dealing with object-oriented (OO) data that needs to be presented in lists, tables, trees, and text widgets. This is where JFace viewers step in to provide OO wrappers around their associated SWT widgets.
JFace list viewers, such as
TreeViewer, allow you to directly use your domain model objects (e.g., business objects ...