Time for action – viewing time zones in tables

To display the time zones in tabular form, a new view will be created called Time Zone Table View.

  1. Right-click on the com.packtpub.e4.clock.ui project and navigate to Plug-in Tools | Open Manifest. Open the Extensions tab and right-click on the org.eclipse.ui.views, followed by navigating to New | e4view and filling in the following:
    1. ID: com.packtpub.e4.clock.ui.views.TimeZoneTableView
    2. Name: Time Zone Table View
    3. Class: com.packtpub.e4.clock.ui.views.TimeZoneTableView
    4. Category: com.packtpub.e4.clock.ui
    5. Icon: icons/sample.gif
  2. The plugin.xml should now contain:
    <e4view category="com.packtpub.e4.clock.ui" class="com.packtpub.e4.clock.ui.views.TimeZoneTableView" icon="icons/sample.gif" id="com.packtpub.e4.clock.ui.views.TimeZoneTableView" ...

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.