Time for action – creating a tree viewer
As with the previous chapter, a new
TimeZoneTreeView class will be created using the
plugin.xml editor, as an E4 view. This will show time zones, organized hierarchically by region.
- Right-click on the
com.packtpub.e4.clock.uiproject and navigate to Plug-in Tools | Open Manifest if it's not open already.
- Open the Extensions tab and go to the
org.eclipse.ui.viewsentry. Right-click on this, navigate to New | e4view, and fill in the following:
Time Zone Tree View
- An entry is created in the
plugin.xmlfile that looks like:
<e4view category="com.packtpub.e4.clock.ui" ...
Get Eclipse Plug-in Development Beginner's Guide - 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.