Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dynamically addition of new components to the pallete.
Dynamically addition of new components to the pallete. [message #88680] Tue, 02 January 2007 06:58 Go to next message
Eclipse UserFriend
Originally posted by: jcgs.iona.com

Hi all,
I wonder if there is a way to add dynamically new components to the GMF
palette without having to regenerate code every time. The goal is being able
for plugins to add new components to the palette. Is that possible?
Thanks in advance.
Jose
Re: Dynamically addition of new components to the pallete. [message #88877 is a reply to message #88680] Tue, 02 January 2007 13:52 Go to previous messageGo to next message
Eclipse UserFriend
Hello Jose Garcia-Sacristan,

Yes it is. Generated ???DiagramEditor.createPaletteRoot() uses PaletteService
to fill palette first, so you can contribute corresponsing Service to make
use of runtime extensibility.

-----------------
Alex Shatalin
Re: Dynamically addition of new components to the pallete. [message #89703 is a reply to message #88877] Fri, 05 January 2007 09:56 Go to previous message
Eclipse UserFriend
Originally posted by: jcgs.iona.com

Thank you!
I'll give it a try.
Regards
Jose
"Alex Shatalin" <vano@borland.com> wrote in message
news:3c3172e6e9938c8fcbea5010d56@news.eclipse.org...
> Hello Jose Garcia-Sacristan,
>
> Yes it is. Generated ???DiagramEditor.createPaletteRoot() uses
> PaletteService to fill palette first, so you can contribute corresponsing
> Service to make use of runtime extensibility.
>
> -----------------
> Alex Shatalin
>
>
Previous Topic:Re: adding Connection Anchor points for a Node in gmf
Next Topic:A question about write transactions
Goto Forum:
  


Current Time: Thu Jul 24 17:56:52 EDT 2025

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

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

Back to the top