Bug 139148 - Diagram generation should respect gmfgraph.Compartment properties, layout etc
Summary: Diagram generation should respect gmfgraph.Compartment properties, layout etc
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-04-28 09:49 EDT by Michael Golubev CLA
Modified: 2010-07-19 22:21 EDT (History)
2 users (show)

See Also:


Attachments
Fixes the subj (99.50 KB, patch)
2006-05-24 18:45 EDT, Michael Golubev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Golubev CLA 2006-04-28 09:49:05 EDT
Actually: it is impossible to setup compartments inside parent figure. If gmfgraph.Compartment points to the inner figure of some RootFigure, all details of this figure specified in the gmfgraph model are ignored. 

Thus, it is impossible, say, to define figure that has 4 compartments layed out in a 2x2 grid. 

This issue does not allow user to define "folder"-like viewmap requested in the news:e2dpe9$veu$1@utils.eclipse.org thread without custom figures.

Expected: All properties of the figure referenced by GMFGraph.Compartment should be respected by generation. In particular, it is possible to define "folder-like" figure viewmap without any CustomFigures -- just by combining it by compartment rectangle, label-owner rectangle and label using grid layout.
Comment 1 Michael Golubev CLA 2006-05-24 18:45:38 EDT
Created attachment 42516 [details]
Fixes the subj
Comment 2 Artem Tikhomirov CLA 2006-05-25 10:04:59 EDT
Reviewed, refactored (use ParentAssignedViewmap instead of FigureAccessorAttributes introduced in the patch) and committed
Comment 3 Eclipse Webmaster CLA 2010-07-19 22:21:19 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug