O'Reilly logo

Eclipse 4 Plug-in Development by Example Beginner's Guide by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – viewing time zones in tables

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

  1. Right-click on the com.packtpub.e4.clock.ui project and select Plug-in Tools | Open Manifest. Open the Extensions tab and right-click on the org.eclipse.ui.views, followed by selecting New | View and filling in the following fields:
    • ID: com.packtpub.e4.clock.ui.views.TimeZoneTableView
    • Name: Time Zone Table View
    • Class: com.packtpub.e4.clock.ui.views.TimeZoneTableView
    • Category: com.packtpub.e4.clock.ui
    • Icon: icons/sample.gif
  2. The plugin.xml file should now contain the following code snippet:
    <view category="com.packtpub.e4.clock.ui" class="com.packtpub.e4.clock.ui.views.TimeZoneTableView" icon="icons/sample.gif" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required