Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Override the palette generated by GMF
Override the palette generated by GMF [message #379989] Wed, 28 March 2007 07:30 Go to next message
Thomas Buchmann is currently offline Thomas Buchmann
Messages: 11
Registered: July 2009
Junior Member
Hello,

is there a way to override the palette that is generated by GMF? We have
our own methods to create nodes and edges in the model and we need
those methods to be executed due to certain contraint and consistency
checks.
Does anyone know if there is a way to get it working?

Thanks in advance,
Thomas
Re: Override the palette generated by GMF [message #379991 is a reply to message #379989] Wed, 28 March 2007 10:27 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26068
Registered: July 2009
Senior Member
Thomas,

Please use the GMF newsgroup for GMF-specific questions. I've added it
to the "to" list of this thread.


Thomas Buchmann wrote:
> Hello,
>
> is there a way to override the palette that is generated by GMF? We
> have our own methods to create nodes and edges in the model and we
> need those methods to be executed due to certain contraint and
> consistency checks.
> Does anyone know if there is a way to get it working?
>
> Thanks in advance,
> Thomas
Re: Override the palette generated by GMF [message #379993 is a reply to message #379991] Wed, 28 March 2007 12:26 Go to previous message
Alexander Shatalin is currently offline Alexander Shatalin
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

>> is there a way to override the palette that is generated by GMF? We
>> have our own methods to create nodes and edges in the model and we
>> need those methods to be executed due to certain contraint and
>> consistency checks.
>> Does anyone know if there is a way to get it working?

You can do it by creating GenericTool pointing to your tool class in .gmftool
model or removing all tools from .gmftool model and using extension point
for the palette.
-----------------
Alex Shatalin
Re: Override the palette generated by GMF [message #590085 is a reply to message #379989] Wed, 28 March 2007 10:27 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26068
Registered: July 2009
Senior Member
Thomas,

Please use the GMF newsgroup for GMF-specific questions. I've added it
to the "to" list of this thread.


Thomas Buchmann wrote:
> Hello,
>
> is there a way to override the palette that is generated by GMF? We
> have our own methods to create nodes and edges in the model and we
> need those methods to be executed due to certain contraint and
> consistency checks.
> Does anyone know if there is a way to get it working?
>
> Thanks in advance,
> Thomas
Re: Override the palette generated by GMF [message #590094 is a reply to message #379991] Wed, 28 March 2007 12:26 Go to previous message
Alexander Shatalin is currently offline Alexander Shatalin
Messages: 2928
Registered: July 2009
Senior Member
Hello Thomas,

>> is there a way to override the palette that is generated by GMF? We
>> have our own methods to create nodes and edges in the model and we
>> need those methods to be executed due to certain contraint and
>> consistency checks.
>> Does anyone know if there is a way to get it working?

You can do it by creating GenericTool pointing to your tool class in .gmftool
model or removing all tools from .gmftool model and using extension point
for the palette.
-----------------
Alex Shatalin
Previous Topic:Override the palette generated by GMF
Next Topic:how to customize the UI generated by EMF
Goto Forum:
  


Current Time: Wed Sep 24 02:29:57 GMT 2014

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

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