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

Bug 505768

Summary: Error in Developer guide about style priority in table
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: DocumentationAssignee: Projet Inbox <sirius.doc-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jessy.mallet, julien.dupont, pierre-charles.david
Version: 4.0.0Keywords: triaged
Target Milestone: 5.0.0M7   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/95906
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a93e7e38e7c2f1988921e19fac7c7d492f4293ff
Whiteboard:

Description Laurent Fasani CLA 2016-10-12 05:30:15 EDT
The documentation says:
>Line Style
>
>You can create Style elements inside a line mapping to set the default style of >all the cells on this line (note that the actual style can be overridden by the >column mappings). 

Actually, it is the opposite because the line style has priority on column style
Comment 1 Julien Dupont CLA 2016-10-12 05:37:07 EDT
In Help/Sirius/Sirius Specifier Manual/Tables/Editon Tables/Line Style
"You can create Style elements inside a line mapping to set the default style of all the cells on this line (note that the actual style can be overridden by the column mappings)."

Error too in Feature Column Mapping/Column Styles
"Columns can contain style definition which, if present, override the styles which may be present in the line mappings for the cells of this column."
Comment 2 Eclipse Genie CLA 2017-04-27 09:28:43 EDT
New Gerrit change created: https://git.eclipse.org/r/95906
Comment 4 Pierre-Charles David CLA 2017-05-03 08:59:01 EDT
Fixed by a93e7e38e7c2f1988921e19fac7c7d492f4293ff.
Comment 5 Jessy Mallet CLA 2017-05-15 10:24:15 EDT
Validated with Sirius 5.0.0.201705121003
Comment 6 Pierre-Charles David CLA 2017-05-17 03:21:16 EDT
Verified by Jessy.
Comment 7 Pierre-Charles David CLA 2017-06-29 03:32:44 EDT
Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details.