Bug 533550 - In tabbar, display same colors as the one displayed in appearance view
Summary: In tabbar, display same colors as the one displayed in appearance view
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 533537 533988 539156
Blocks:
  Show dependency tree
 
Reported: 2018-04-13 11:06 EDT by Laurent Fasani CLA
Modified: 2018-09-17 09:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2018-04-13 11:06:59 EDT
This bug depends on bug 533537 which changes the colors displayed in appearance view when clicking on text, line or fill button

The aim of this ticket is to have the same color in the same order than the colors displayed in appearance view.

steps to validate
1- select a node in a diagram
2- display Properties view/Appearance tab
3- click on text color
-> colors defined in the VSM of the diagram and system colors are displayed in this order
4- From the diagram tabbar, click on text color button
-> check that the same color are displayed in the same order
5- repeat steps 3 and 4 with line and fill button if possible
6- repeat steps 1 to 5 selecting 
   * a diagram
   * an edge
   * a label

The maximum number of item in the tabbar combobox is to be chosen with sirius Team
Comment 1 Laurent Fasani CLA 2018-04-13 11:41:46 EDT
As work to do we should not use the color defined in org.eclipse.sirius.diagram.ui.tools.internal.editor.tabbar.actions.ColorPropertyContributionItem but iether the ones get with ColorManager.getDefault().collectVsmAndDefaultColors(vsmResource)