O'Reilly logo

Eclipse: Building Commercial-Quality Plug-ins, Second Edition by Dan Rubel, Eric Clayberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image Chapter 5. JFace Viewers

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.

5.1 List-Oriented Viewers

JFace list viewers, such as ListViewer, TableViewer, and TreeViewer, allow you to directly use your domain model objects (e.g., business objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required