Skip to main content



      Home
Home » Eclipse Projects » GEF » Palette is not active if I add a page to a MultiPageEditor
Palette is not active if I add a page to a MultiPageEditor [message #227060] Tue, 28 November 2006 11:23 Go to next message
Eclipse UserFriend
After I add a new page to the MultiPageEditor, the palette is only active
for the newly added pages. Each page of the MultiPageEditor extends
GraphicalEditorWithFlyoutPalette and the call to getPaletteRoot gets the
shared palette from MultiPageEditor. This funionality in my app broke when I
moved to version 3.2.1 of eclipse from 3.1.

What calls do I need to make to make the palette active when I switch among
pages in the MultiPageEditor?
Re: Palette is not active if I add a page to a MultiPageEditor [message #227134 is a reply to message #227060] Wed, 29 November 2006 10:24 Go to previous message
Eclipse UserFriend
rather than continuing to push a rope, i opted to use the following in my
page that implements GraphicalEditor (instead of
GraphicalEditorWithFlyoutPalette) . So I will have the palette in a separate
view which works fine and is now shared between pages.

public Object getAdapter(Class type) {


else if (type == PalettePage.class)
{
return this.myMultipageParentEditor.getPalettePage();
}

}

"Drew Frantz" <drew@acm.org> wrote in message
news:ekhnq4$vk9$1@utils.eclipse.org...
> After I add a new page to the MultiPageEditor, the palette is only active
> for the newly added pages. Each page of the MultiPageEditor extends
> GraphicalEditorWithFlyoutPalette and the call to getPaletteRoot gets the
> shared palette from MultiPageEditor. This funionality in my app broke when
I
> moved to version 3.2.1 of eclipse from 3.1.
>
> What calls do I need to make to make the palette active when I switch
among
> pages in the MultiPageEditor?
>
>
>
>
>
Previous Topic:ZoomManager.ANIMATE_ZOOM_IN_OUT
Next Topic:Draw out of the Graphics area
Goto Forum:
  


Current Time: Wed May 21 06:30:22 EDT 2025

Powered by FUDForum. Page generated in 0.03062 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top