Update palette contents dynamically [message #241594] |
Thu, 21 February 2008 18:22 |
Eclipse User |
|
|
|
Originally posted by: s.boshev.prosyst.bg
Is there a way to update the contents of the palette dynamically? I need to
add/remove tools in the palette.
I've tried setting new PaletteRoot but it does not work.
Working solution to me would be to recreate the whole palette view. I was
not able to do this successfully :(
Many thanks,
StoBo
|
|
|
|
Re: Update palette contents dynamically [message #241603 is a reply to message #241599] |
Thu, 21 February 2008 20:52 |
Eclipse User |
|
|
|
Originally posted by: s.boshev.prosyst.bg
It works now! Thank you very much
The palette can be manipulated by using its existing PaletteRoot. Its
methods for adding/removing tools work perfectly and update the palette
content.
My mistake was that I was trying to replace the PaletteRoot with new one
each time I need to change something in the palette.
"Qinxian" <fyaoxy@gmail.com> wrote in message
news:fpkhi1$7ga$1@build.eclipse.org...
> Hi,
>
> StoBo д
|
|
|
Powered by
FUDForum. Page generated in 0.03286 seconds