Community
Participate
Working Groups
ExtensionService#getCaption(propertyId) provides for all properties of a model extension a suitable caption. However, if one attaches a property validator to a project template (ProjectTemplate#getPropertysValidator(extension,propertyId)), there is currently no mechanism, to retrieve these property captions to render meaningful issue messages. Proposed Solution: 1. DefaultProjectTemplate should bind to ExtensionService instances in the system (via OSGi DS mechansisms) 2. there should be a method getExtensionService(Class<T> extensionClass) 3. existing template validators should use that method to retrieve captions