Skip to main content



      Home
Home » Eclipse Projects » GEF » Multi Page Palette
Multi Page Palette [message #163952] Fri, 14 January 2005 03:52 Go to next message
Eclipse UserFriend
Originally posted by: Abhinav.Vohra.siebel.com

Is there a way to create a multiPage palette?
Re: Multi Page Palette [message #164430 is a reply to message #163952] Tue, 18 January 2005 15:26 Go to previous message
Eclipse UserFriend
You could create a CompoundPaletteViewer or something like that to wrap all
your palette viewers into one viewer that could be provided to the
EditDomain. The compound viewer would then be responsible for forwarding
requests to the actual viewer that is active at any given point. You'll
also need a CompoundPaletteRoot that could contain the roots for each of the
palette pages. You'll need to override PaletteViewerProvider to create the
CompoundViewer (and hence, multiple palette viewers). And finally, you'd
have to provide a CustomPalettePage that would have multiple pages, each
with its own palette viewer. You might run into some other problems I am
overlooking.

Or you could feign the whole thing by re-loading the root of the same
palette viewer with new entries everytime the user "changes a palette page."

"Abhinav Vohra" <Abhinav.Vohra@siebel.com> wrote in message
news:cs818c$333$1@www.eclipse.org...
> Is there a way to create a multiPage palette?
Previous Topic:bug in Label.setTextAlignment ?
Next Topic:How to rebuild the flow diagram sample
Goto Forum:
  


Current Time: Tue Jul 08 02:03:28 EDT 2025

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

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

Back to the top