Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 496018

Summary: It should be possible to setup a fully-fledged reference edition widget with zero Java code
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: PropertiesAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: julien.dupont, stephane.begaudeau, steve.monnier
Version: unspecifiedKeywords: triaged
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
URL: https://tuleap.eclipse.org/plugins/tracker/?aid=499
Whiteboard:
Bug Depends on:    
Bug Blocks: 195366    

Description Pierre-Charles David CLA 2016-06-13 11:37:51 EDT
With the current feature set (as of Sirius 4.0), it is *possible* to create a fully functional reference edition widget (both for single and multi-valued references), but it requires writing custom Java services, at least for the interactive value selection, "move up" and "move down" actions of multi-valued references.

It should not be necessary to write custom Java code to implement these common use cases.

Note that this ticket is only about making sure it is technically possible to configure reference widgets without Java code. It is not about making it easy (which we obviously want too, but I'll open a separate ticket for that).
Comment 1 Pierre-Charles David CLA 2016-06-27 06:21:36 EDT
For reference, https://github.com/pcdavid/org.eclipse.sirius.sample.properties.refedit contains a basic example of how to setup a reference widget to edit an actual EReference using Sirius 4.0.
Comment 2 Pierre-Charles David CLA 2016-08-24 08:45:28 EDT
This was fixed by https://git.eclipse.org/r/#/c/78305/ in the context of bug #496057.
Comment 3 Julien Dupont CLA 2016-09-08 09:42:32 EDT
The feature works correctly (reference[ext]) but there is no documentation about this new feature.
Comment 4 Pierre-Charles David CLA 2016-10-18 11:09:03 EDT
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.