Chapter 7. Views
Many plug-ins either add a new Eclipse view or enhance an existing one as a way to provide information to the user. This chapter covers creating a new view, modifying the view to respond to selections in the active editor or other views, and exporting the view’s selection to the rest of Eclipse. In addition, it briefly touches on the differences between editors and views, and when one should be used instead of the other.
Views must implement the org.eclipse.ui.IViewPart
interface. Typically, views are subclasses of org.eclipse.ui.part.ViewPart
and thus indirectly subclasses of org.eclipse.ui.part.WorkbenchPart
, inheriting much ...
Get Eclipse: Building Commercial-Quality Plug-ins, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.