|
Re: Dynamically add/remove PaletteEntries [message #495056 is a reply to message #494769] |
Tue, 03 November 2009 16:24 |
|
The palette is a standard GEF based "editor", too, using the GEF MVC
design pattern. That is, PaletteEntry is the base class for the palette
model. Usually, simply modifying the model (i.e. some PaletteEntry
derived class) should work, the change is then propagated via the
EditParts (which are registered as listeners to the model) to the view.
Cheers
Jens
On 2009-11-02 16:26:01 +0100, <slavaraitsin@yahoo.com> said:
> Hi all,
>
> I need dynamically add/remove PaletteContainer items to PaletteRoot or
> make them visible/invisible.
> setVisibble() method as well as add()/remove() don't show any changes.
> How can I refresh changed PaletteRoot structure or any other
> workaround? Can I close and open again entire palette?
>
> Slava
|
|
|
Powered by
FUDForum. Page generated in 0.05360 seconds