| Summary: | Referenced Object picker UI should be pluggable (AKA "simplify EFactoryWithTreeEditor in ESON" :) | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Michael Vorburger <mike> |
| Component: | Edit | Assignee: | Ed Merks <Ed.Merks> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cedric.brun, esteban.dugueperoux, pierre-charles.david, stepper |
| Version: | 2.10.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Michael Vorburger
I see at least 3 things, feel free to comment or contradict me : a) The EMF runtime should be able to display elements returned from the getChoiceOfValues calls which are actually not in the ResourceSet yet and we should have the ability to trigger some logic when they are getting picked by the ned user which, for instance, will include them on the resourceset. For this to be relevant to the generic technologies like Sirius this should not be overridable only through customization of the code generated for each Ecore model. b) a Scope/ScopeProvider API in EMF Core itself to do just that would help in making sure all the EcoSystem leverage these mechanisms "by default". c) a nicer UI to pick elements when there are many would be a cool addition to EMF.edit. In https://bugs.eclipse.org/bugs/show_bug.cgi?id=438123 I've provided a clean mechanism for contributing a property editor factory. There's an example implementation in the wiki https://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_a_property_editor_factory_to_use_declaratively_in_any_model There's also a built-in implementation to exploit Nebula CDateTime: https://wiki.eclipse.org/EMF/Recipes#Recipe:_Use_Nebula-based_Cell_Editors_to_Modify_Date.2FTime_Properties With this support you can build any UI and use it on any model. The property editor factory need not rely on the choices provided by the property descriptor; it can compute its own information however it likes. *** This bug has been marked as a duplicate of bug 438123 *** |