To display the time zones in tabular form, a new view will be created called Time Zone Table View.
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 theorg.eclipse.ui.views
, followed by navigating to New | e4view and filling in the following: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
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" name="Time Zone Table View" restorable="true"> </e4view>
Create the class using the editor's short-cuts to create a new class
TimeZoneTableView
in thecom.packtpub.e4.clock.ui.views
package, or...