Community
Participate
Working Groups
Consider following structure in the tooldef model instance Palette ToolGroup A ToolGroup B (stack = true) Tool B1 Tool B2 Generation of the code for this structure creates code with 2 issues: 1. The code can not be compiled because it contains the code like the following for ToolGroup B: /** * @generated */ private PaletteContainer createB1Group() { PaletteContainer paletteContainer = new PaletteStack("B"); //<- compile error here paletteContainer.setDescription("B"); paletteContainer.add(createB11CreationTool()); paletteContainer.add(createB22CreationTool()); paletteContainer.add(createB33CreationTool()); return paletteContainer; } the PaletteStack class does not have constructor with single String parameter, only this one: PaletteStack(String, String, ImageDescriptor) 2. Even would the PaletteStack had this constructor, the method createB1Group() is never called. In particular it is not called from the method private PaletteContainer createA1Group().
Created attachment 53104 [details] Fixes the subj
Reviewed and committed. Also added active stack tool selection logic
Created attachment 53983 [details] mylar/context/zip
[target cleanup] 2.0 M3 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug