Bug 152854 - Lite Generator: Allow shape nodes to be placed inside list-layout compartments
Summary: Lite Generator: Allow shape nodes to be placed inside list-layout compartments
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.1   Edit
Assignee: Boris Blajer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-08-04 12:40 EDT by Boris Blajer CLA
Modified: 2010-07-19 22:21 EDT (History)
0 users

See Also:


Attachments
Fixes the subj (3.72 KB, patch)
2006-08-04 13:27 EDT, Boris Blajer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Blajer CLA 2006-08-04 12:40:53 EDT
Currently, this is not supported. If the .gmfgen-model specifies that a GenCompartment with listLayout feature set to true contains a GenNode (rather than a GenChildNode, which is a much more likely scenario), an attempt to create such a node leads to a NPE (see test DiagramNodeTest.testCreateLeafChildNodeNotationElements()).
Comment 1 Boris Blajer CLA 2006-08-04 13:27:17 EDT
Created attachment 47412 [details]
Fixes the subj

The functionality is tested with DiagramNodeTest.testCreateLeafChildNodeNotationElements() that used to fail, and now passes
Comment 2 Artem Tikhomirov CLA 2006-08-04 13:45:08 EDT
reviewed and committed
Comment 3 Alex Shatalin CLA 2006-08-24 08:04:10 EDT
Commited to 1.0.1 branch.
Comment 4 Eclipse Webmaster CLA 2010-07-19 22:21:09 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug