Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Accessing the palette
Accessing the palette [message #192240] Wed, 17 August 2005 16:12 Go to next message
Eclipse UserFriend
Originally posted by: gef.oppacher.ca

Is it possible to get access to the pallete from an editor part? Also what
would be the best way to dynamically add entries to a palette? The user
can create files (templates) that can be used later as part of a graphical
editor. I would like these to show up in the graphical editor once they
have been created by the user. Is it best to put this code inside the
specific editor and recreate the palette when the editor gains focus?

Thanks
Re: Accessing the palette [message #192247 is a reply to message #192240] Wed, 17 August 2005 18:32 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Yandu" <gef@oppacher.ca> wrote in message
news:a4b440a78abb0d534b8c282f4765809c$1@www.eclipse.org...
> Is it possible to get access to the pallete from an editor part? Also what
> would be the best way to dynamically add entries to a palette? The user
> can create files (templates) that can be used later as part of a graphical
> editor. I would like these to show up in the graphical editor once they
> have been created by the user. Is it best to put this code inside the
> specific editor and recreate the palette when the editor gains focus?
>
If you add children to your palette model, they will automatically show up
in the palette.
I have implemented exactly what you describe in a project I am working on.
---
Sunil
Previous Topic:Connection to RootEditPart
Next Topic:GEF based database desinger
Goto Forum:
  


Current Time: Thu Apr 25 19:38:37 GMT 2024

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

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

Back to the top