Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » tool menu problem
tool menu problem [message #200335] Tue, 05 August 2008 05:36 Go to next message
Eclipse UserFriend
Hi, I am currently working on a project where I have many connection's
(links) so Inorder to make this project more user friendly I have mapped
all these connections to a single tool!

Now I am able to select this tool and when I draw a link a menu is
displayed allowing me to select which type of link I wish to use (only the
links which are appropriate to the nodes selected are shown).

However there is a problem with this! The names of each of the links are
not displayed!

Each links is called currently:
Create Undefined

Does anyone know why this may be the case and how to get it to display the
name of each of the links in the list?

Thank you in advance,
Gary J Burgin
Re: tool menu problem [message #200417 is a reply to message #200335] Tue, 05 August 2008 06:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tobk42.gmx.de

Hi Gary,

it seems that the displayed element name for the tools depend on what's
written in the plugin.properties file (not to be confused with the
plugin.xml). There should be a section #Providers holding the Names for
all the elements. In my case, there is an element with name "Undefined",
too, for which there is no tool (because it is the diagram root
element), so I would guess that your connections had no tool associated
with them when you first generated the code. On regenerating the code
the existing entry then has not been overwritten.

Well, just a guess... ^^;;
Tobias



Gary schrieb:
> Hi, I am currently working on a project where I have many connection's
> (links) so Inorder to make this project more user friendly I have mapped
> all these connections to a single tool!
>
> Now I am able to select this tool and when I draw a link a menu is
> displayed allowing me to select which type of link I wish to use (only
> the links which are appropriate to the nodes selected are shown).
>
> However there is a problem with this! The names of each of the links are
> not displayed!
>
> Each links is called currently:
> Create Undefined
>
> Does anyone know why this may be the case and how to get it to display
> the name of each of the links in the list?
>
> Thank you in advance,
> Gary J Burgin
>
Re: tool menu problem [message #200425 is a reply to message #200417] Tue, 05 August 2008 06:53 Go to previous message
Eclipse UserFriend
Hi, thanks alot your a star!
Yeh I think this will solve my problem, I know why this is an issue,
basicaly i've mapped several connections to the same tool, since I have
done this it hasn't recognised the indervidual connection names... however
I will be able to edit the names of the connections in the
plugin.properties and it should work with no problems!!!

Thanks for your help!!!
Previous Topic:Link with multiple uses
Next Topic:fill composite figure with color
Goto Forum:
  


Current Time: Sat Jul 05 09:23:00 EDT 2025

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

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

Back to the top