This section describes the basic parts of any Rich GUI application.
A Rich GUI application contains the following parts:
UIPlugin class: XPD621
The application must have a class which extends org.eclipse.ui.plugin.AbstractUIPlugin
. This provides the base functionality for starting and stopping the application within the OSGi framework. This class is created automatically when you create a Client Services project.
View classes: XPD621
The application must have at least one class which extends org.eclipse.ui.part.ViewPart
. These classes provide the GUI implementation for the application. In addition to the required “normal” view that is usually displayed on devices, Rich GUI applications may also provide a “large” view that is more appropriate for desktop displays. A third “status” view may be used to display minimal information on very small screens. The application launcher determines which view is used.
For an application to appear in the workbench or be launchable it must implement two extensions. These are org.eclipse.ercp.eworkbench.applications
Parent topic: Creating a Rich GUI application for devices: XPD621