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 ...