I would like to change palette pragmatically. I need to add/remove some entries to/from each drawer in the palette whenever user changes selection on the diagram editor.
The only thing I found was a Paletteroot which is accessible through Paletteviewer. But I couldn't find a way to access to palette viewer :(
Can you please give me a hint about how I can manage palette drawers in papyrus?