|
Re: Multipage GEF editor problem with palette [message #188184 is a reply to message #188175] |
Tue, 19 July 2005 15:11 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
One edit domain == one palette
Is the palette different for all different editors?
"Milan Stanojevic" <milanst@gmail.com> wrote in message
news:33772c3f8ac148ce5e835238aea8ea30$1@www.eclipse.org...
> I am developing multipage GEF editor which has graphical editor with
> flyout palette on each page of mutipage editor. I didn't use GEF's
> GraphicalEditorWithFlyoutPalette class, but I did reuse most of its code.
> I want all editors to share the same EditDomain, CommandStack and model.
> The only problem I have with this approach is with palettes on different
> pages onf multipage editor. When I set up different PaletteRoots for each
> page I get a NullPointerException somewhere in GEFs code that deals with
> Palettes. I then tried to use single PaletteRoot (which is also more
> natural) but it turns out that only one of the palettes (last one added)
> is active so all editors would react only to ToolEntrys from that palette.
> Selecting entrys from other palettes has no effect even though they appear
> selected (palette button is down state).
>
> Any suggestions how I can make this work?
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03459 seconds