Bug 481696 - Feature Column style does not override the line style
Summary: Feature Column style does not override the line style
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Table (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-11-09 04:53 EST by Yariv Amar CLA
Modified: 2015-11-18 17:04 EST (History)
2 users (show)

See Also:


Attachments
example of project structure (18.33 KB, image/png)
2015-11-09 04:53 EST, Yariv Amar CLA
no flags Details
Simple reproduction case (134.50 KB, application/octet-stream)
2015-11-18 16:58 EST, Maxime Porhel CLA
no flags Details
Simple reproduction case (3.67 KB, application/zip)
2015-11-18 17:03 EST, Maxime Porhel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yariv Amar CLA 2015-11-09 04:53:24 EST
Created attachment 257817 [details]
example of project structure

From the forum: https://www.eclipse.org/forums/index.php/t/1071959/

In Edition table with Foreground style on a row, add a Feature column with different foreground style (color).

The expected behavior is that the column style will override the row style.

However, the style of the column does not override the style of the row. it is simply "ignored".
Comment 1 Maxime Porhel CLA 2015-11-18 16:46:39 EST
The table documentation indicates that the column style overrides the line style (and for cross table, the intersection style overrides the column and line styles).
Comment 2 Maxime Porhel CLA 2015-11-18 16:58:37 EST
Created attachment 258135 [details]
Simple reproduction case

The attached reproduction case is a simple VSM showing the issue. 

This will have to be completed for homologation: other combination of default/condition foreground/background of line/column/intersection mappings might also be impacted by the issue. 

See org.eclipse.sirius.table.business.internal.refresh.DTableElementSynchronizerSpec.getBestBackgroundColor methods
Comment 3 Maxime Porhel CLA 2015-11-18 17:03:47 EST
Created attachment 258137 [details]
Simple reproduction case
Comment 4 Maxime Porhel CLA 2015-11-18 17:04:49 EST
Steps to repdroduce:
 . open the table contained in the attached reproduction case. 
 . see the table: from the documetation, the column style should override the line style.