Bug 479049 - Add a colored background, completion and validation for VSM fields representing feature names
Summary: Add a colored background, completion and validation for VSM fields representi...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: 5.0.0   Edit
Assignee: Project Inbox CLA
QA Contact: Laurent Redor CLA
URL:
Whiteboard:
Keywords: triaged
: 447471 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-05 09:58 EDT by Julien Dupont CLA
Modified: 2017-06-29 03:31 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Dupont CLA 2015-10-05 09:58:49 EDT
These fields do not have background color. They should have a green background as the "Domain Class" field.
They should have the completion, for choose the feature available.
Fields concerned:
"Reference Name" in "Create Instance" Operation
"Feature Name" in "Set" Operation
"Feature Name" in "Unset" Operation
"Feature Name" in "Move" Operation
"Feature Name" in "Feature Column" Mapping in a Table Description
Comment 1 Etienne Juliot CLA 2016-03-15 06:53:09 EDT
For information, I received some feedback from users at EclipseCon NA 2016 who complains about this lake of completion on these fields.
Comment 2 Eclipse Genie CLA 2016-04-25 08:20:57 EDT
New Gerrit change created: https://git.eclipse.org/r/71322
Comment 3 Pierre-Charles David CLA 2016-04-25 08:25:04 EDT
I've just pushed a draft at https://git.eclipse.org/r/71322, which simply changes the color (no other changes like completion or validation). The result looks like this: https://imgur.com/a/mDmv9

Note that this does not mean we've actually started work on this, but the color change itself is so trivial that I've pushed the patch for reference when we actually work on this. The more complicated thing will probably be to get everyone to agree on the color to use...

For completion, note that we should already have most of the actual code, as it should be very close to completion on feature: expressions (except that 'feature:' understand a few special pseudo-features).
Comment 4 Eclipse Genie CLA 2017-03-24 06:18:59 EDT
New Gerrit change created: https://git.eclipse.org/r/93792
Comment 5 Florian Barbin CLA 2017-05-12 09:27:08 EDT
*** Bug 447471 has been marked as a duplicate of this bug. ***
Comment 7 Cedric Brun CLA 2017-05-17 09:26:54 EDT
The current (M7) behavior seems bogus, see the NodeCreation and ContainerCreation tools in EcoreTools for a reproduction case ( Datatype/Enumeration and Literal, Operation & Attribute)
Comment 8 Eclipse Genie CLA 2017-05-18 09:35:39 EDT
New Gerrit change created: https://git.eclipse.org/r/97447
Comment 10 Pierre-Charles David CLA 2017-05-19 10:19:44 EDT
The only thing left is to add some documentation in the "Specifier" part about these new fields.
Comment 11 Eclipse Genie CLA 2017-05-19 11:11:18 EDT
New Gerrit change created: https://git.eclipse.org/r/97584
Comment 13 Pierre-Charles David CLA 2017-05-21 10:53:16 EDT
Fixed.
Comment 14 Laurent Redor CLA 2017-05-22 09:11:52 EDT
Validated with ODCE 5.0.0 RC1 (Sirius 5.0.0.201705211502)

I noticed another improvment about completion and validation: bug 517073.
Comment 16 Pierre-Charles David CLA 2017-06-29 03:31:51 EDT
Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details.