Override the palette generated by GMF [message #379989] |
Wed, 28 March 2007 03:30  |
Eclipse User |
|
|
|
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 08:26  |
Eclipse User |
|
|
|
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 06:27  |
Eclipse User |
|
|
|
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 08:26  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03631 seconds