Summary: | Colors defined in the gmfgraph model should be used by the generated polyline connections | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Modeling] GMF-Tooling (ARCHIVED) | Reporter: | Michael Golubev <borlander> | ||||||||
Component: | Core | Assignee: | Michael Golubev <borlander> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | Keywords: | contributed | ||||||||
Version: | unspecified | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Michael Golubev
2006-06-07 16:08:44 EDT
Created attachment 44468 [details]
Fixes the subj
GeneratedPropertiesAttributes introduced to gmfgen model to state the properties processed at the gmfgraph level. These properties mow includes font, fore/background colors. All of these properties are set by ViewmapProducer. Howewer, in the current fix, only value for foreground color is read by gmfgen and only while processing GenLink's. Other properties are reserved for future use (intended to be used the same way as in current fix).
ViewFactory generator checks whether link's color is set in the gmfgraph code and if yes, generator supresses creation of the default LineStyle for just created Edge. At the same time, other properties of the ConnectorStyle remains unchanged.
Created attachment 44808 [details]
Fixes the subj
In contrast to the previous version, now generated ViewFactory always overrides createStyles method. Explicit control over the set of created Styles allows us to avoid the hack-like removing of undesired styles in the decorateView() mathod.
Also new Attributes class was renamed to StyleAttributes with more clear properties/methods names.
commited Created attachment 44816 [details]
Additional fix for tests in the lite mode
The problem described in the bug is runtime-specific.
However, after fix was applied, some of lite-mode tests were failed because of introduced dependecies and internal lite problems.
This patch is intended to fix it.
Patch for the lite mode tests commited. [GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug |