|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.validation.service.EventTypeService
public class EventTypeService
The Event Type Service is responsible for loading the eventTypes
Eclipse extension point and creating EMFEventTypes for the
event types that have been contributed.
It provides accessor methods for retrieving INotificationGenerators
that have been contributed along with the EMFEventTypes.
| Method Summary | |
|---|---|
void |
configureEventTypes(IConfigurationElement[] elements)
Configures event types from the Eclipse configuration elements representing implementations of my extension point. |
static EventTypeService |
getInstance()
Obtains the instance of this class. |
INotificationGenerator |
getNotificationGenerator(String eventName)
Retrieves the INotificationGenerator associated with the given
event name. |
Collection |
getNotificationGenerators()
Retrieves the available notification generators. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EventTypeService getInstance()
public void configureEventTypes(IConfigurationElement[] elements)
Configures event types from the Eclipse configuration
elements representing implementations of my extension point.
NOTE that this method should only be called by the EMF Model Validation Plug-in, not by any client code!
elements - public Collection getNotificationGenerators()
public INotificationGenerator getNotificationGenerator(String eventName)
INotificationGenerator associated with the given
event name.
eventName -
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||