Community
Participate
Working Groups
Build Identifier: A Graphiti ICreationToolEntry has a name and description, which are usually (but no necesarily) taken from the CreateFeature. However, when the GEF PaletteEntry is created (GFPaletteRoot.createTool() method) the name and description are not read from the ICreationToolEntry but from the CreationFeature. This is wrong, it turns the ICreationToolEntry name/description useless, and does not allow to create several palette entries which call distinct instantiations of a same CreateFeature CombinedTemplateCreationEntry pe = new CombinedTemplateCreationEntry(feat.getCreateName(), feat.getCreateDescription(), template, cf, getImageDescriptor(creationToolEntry, true), getImageDescriptor(creationToolEntry, false)); should be CombinedTemplateCreationEntry pe = new CombinedTemplateCreationEntry(creationToolEntry.getLabel(), creationToolEntry.getDescription(), template, cf, getImageDescriptor(creationToolEntry, true), getImageDescriptor(creationToolEntry, false)); Reproducible: Always
correct. i also removed i a useless instanceof check...
Bookkeeping: Set target release
Relevant for IP log
Part of Graphiti 0.9.0 (Eclipse Juno)