Interface ModelViewerProvider
-
- All Known Subinterfaces:
ADEPT2ClientService
,Registry
,ServiceAccess
- All Known Implementing Classes:
ModelFactoryRegistry
,MultiplexingClientService
,RegistryWrapper
public interface ModelViewerProvider
This interface provides access to classes that in turn provide type-safe access toPluginData
.PluginData
is additional data managed by several model elements (PluginDataContainer
). This way the corresponding model elements can easily extended to contain data that is necessary for (service-) plugins. For instance, the escalation handling plugin for the worklist manager needs additional data in the worklist model. To access this data via a nice interface, the worklist model elements can be wrapped by a model viewer.
Model viewer (classes) are identified by a plugin ID for which they are registered. This ID usually equals the ID of the (service-) plugin that uses the model viewer.- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>
getModelViewerClass(String pluginID)
Gets the model viewer class for the designated plugin ID that allows type-save access to plugin data at model elements.
-
-
-
Method Detail
-
getModelViewerClass
Class<?> getModelViewerClass(String pluginID)
Gets the model viewer class for the designated plugin ID that allows type-save access to plugin data at model elements. If there is no model viewer configured for the designated plugin ID,null
will be returned. This ID usually equals the ID of the (service-) plugin that uses the model viewer.- Parameters:
pluginID
- The ID of the plugin for which to retrieve a model viewer, this ID is usually the same ID as the one of the (service-) plugin using the plugin data.- Returns:
- The model viewer class for the designated plugin ID or
null
in case there is no model viewer for the designated plugin ID configured.
-
-