Community
Participate
Working Groups
One common pattern is for a value property to refer to an external entity. We already have ability to provide browsing for existing values. We need to add ability for user to create new entities. From UI perspective, this should appear as another button next to the browse button. Developer should be able to attach create handlers to a property editor in the Sapphire UI definition file. It may also be desirable to be able to define create handlers in global fashion via an extension point.
Enhancement completed. To use this feature, the developer must supply create action handler for the property editor in the sdef file. This is done as follows: <property-editor> <property>MyProperty</property> <action-handler> <action>Sapphire.Create</action> <impl>MyCreateImpl</impl> </action-handler> </property-editor> The action handler implementation class must extend SapphireActionHandler. The class references in the sdef files are resolved using the import directives specified. Make sure that the package where the implementation class is located is imported.
Marking as fixed.
Verified with gallery sample value property editor reference create.