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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Eclipse GMF Guide
Previous Page Home Next Page

Service Example


This example describes the usage of the Service framework within the SDK. It demonstrates how to create a Service and define Providers for that service as well as giving clients access to the Service.


Refer to the on-line Java documentation for the package org.eclipse.gmf.runtime.common.core.service for more information on general use and API specifics.


This example plug-in, called org.eclipse.gmf.examples.runtime.common.service, creates a Widget Service and defines two Widget Providers. This plug-in also contributes an action which request Widgets from the Widget Service.

Please refer to the tutorial Serviceand Provider Tutorial for viewing the code samples within this example


Refer to this example if you need to:

  1. To create a Service which Providers to contribute to the Service via the Service extension point.
  2. Allow Providers to prioritize themselves so that results from the Service are deterministic.
  3. Allow one or more Providers to service a client request.

Copyright (c) 2000,2005 IBM Corporation and others. All Rights Reserved.

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