Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Runtime application model

The platform runtime provides an application container for controlling and executing applications. The runtime application container implements the Application Admin service specification included in the OSGi R4 specification. The application container is responsible for discovering all available applications and registering an ApplicationDescriptor OSGi service for each application that is available. An ApplicationDescriptor service can be used to launch an application. When an application is launched an ApplicationHandle OSGi service is registered to represent the instance of the running application. An ApplicationHandle service can be used to shutdown an application. See the org.osgi.service.application package and the OSGi R4.1 specification for more information.

The default application

A given Eclipse configuration may contain many products and applications. An Eclipse configuration specifies a default application which is launched by the application container as soon as the platform runtime is up and running. The default application can be specified by one of the following configuration options

  • eclipse.product - identifies the product to launch the platform runtime with. A product supplies branding information (window icons, title bar text etc.) as well as defining the default application to run.
  • eclipse.application - identifies the application to launch the platform runtime with. This option overrides default application defined by the product.

Defining an application

Plug-ins may define their own applications using the org.eclipse.core.runtime.applications extension. In this extension, the plug-in defines the name and ID of the application, as well a class that implements the application. The class which implements the application is used to launch and shutdown application instances.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire