| Summary: | DefaultSizeAttribute via gmfgraph | ||
|---|---|---|---|
| Product: | [Modeling] GMF-Tooling | Reporter: | Ralph Gerbig <ralphgerbig> |
| Component: | Core | Assignee: | Project Inbox <gmp.gmf-tooling-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
I need to add the DefaultSizeAttribute to the inner class of an edipart. Currently I am doing this with a QVTo transformation as this is not supported by the gmfgraph model. Please add support to gmfgraph. To get a DefaultSizeAttribute generated via gmfgraph one needs to do the following: 1) Add prefered size to figure 2) Generate generator model 3) Remove prefered size from figure 4) Generate generator model I need this attribute to set the size and use the automatic resizing of nodes containing compartments. The transformation code I use is: var defaultSize := new DefaultSizeAttributes(); defaultSize.height := 22; defaultSize.width := 0; node.viewmap.attributes := Sequence{defaultSize};