|
Re: Update the Palette from source code [message #1705652 is a reply to message #1705450] |
Tue, 18 August 2015 07:31  |
|
On 08/15/2015 10:22 PM, Tcaciuc Mugurel wrote:
> Hello,
Hello,
I'm not sure about what you want to do exactly. If you are looking for a
way to refresh programmatically the palette (which is done
automatically), you can take a look on the
org.eclipse.sirius.diagram.ui.tools.api.graphical.edit.palette.PaletteManager.update(Diagram,
boolean). If you want to add new elements programmatically, that will be
a problem since at the next automatic refresh, your elements will disappear.
Regards,
Florian
>
> Is there any method to update the Palette (to refresh the Palette's elements of a diagram representation) directly from source code?
>
> Thanks.
>
--
Florian - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.01946 seconds