EObjectAwareServiceBase: Provide accumulating implementation of getRegisteredHandlers()
-
EObjectAwareServiceBase.getRegisteredHandlers()
provides an override mechanism for handlers bound to specific model elements which is convenient to define generic handler for an abstract model element class, and to define exceptions for a few concrete ones. - In some cases, e.g. the
org.fortiss.tooling.base.annotation.AnnotationValueService
it would be more suitable to accumulate the handlers that have been registered for model element or one of its base classes.AnnotationValueService
currently provides a local override ofgetRegisteredHandlers()
, but such feature could be useful also in other cases and thus the integration inEObjectAwareServiceBase
should be considered.
(from redmine: issue id 2270, created on 2015-02-02)