Community
Participate
Working Groups
Steps to reproduce: In the MindMap example add BorderLayout into RoundedTopicFigure and regerenerate both gmfgen model and diagram code. Attempt to create Topic at this diagram fails with class cast exception because Thread compartment assumes that figure has ConstraintedToolbarLayout while generator sets BorderLayout for RoundedTopicFigure. After fixing of the #139148 the same may be reproduced if BorderLayout is set to Compartments figure.
Created attachment 42545 [details] Changes RT tests to support compartments CompartmentsSessionSetup introduced (basically from CodegenReconcileTest but with some additional fixes) DiagramNodeTest is modified to use compartment setup. NOTE: this patch forces DiagramNodeTest to fail with ClassCastException described in this issue.
Created attachment 42546 [details] Actually fixes the subj
reviewed and committed
[GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug