Summary

This chapter covered how to use JFace to build viewers for structured data; both tree-based views (with a TreeViewer) and table-based views (with a TableViewer). It also covered some JFace built-in features for managing fonts and images.

To synchronise data between views in Eclipse, services such as the ISelectionService are used (or for E4 the ESelectionService is used). Having views generate and consume selection events provides a visual consistency, even though the views may be exposed by different plug-ins.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset