Popup-list for different relations [message #946904] |
Tue, 16 October 2012 16:10  |
Eclipse User |
|
|
|
Hi everybody,
I'm a student using Eclipse to make a graphical editor for my masters thesis and as such am an Eclipse-amateur.
My graphical editor has 3 nodes: Goals, Actors and Operations.
Actors can be linked to Goals with a 'Responsibility' relationship.
Actors can be linked to Operations by one of 4 possible different relationships.
Because my tool has to be as userfriendly as possible, i use a single 'Relationship' creation tool in my Palette.
My problem is that i don't know how to let eclipse present me a popup-list with the 4 possible links to choose from when creating a relationship between an Actor and an Operation in the graphical editor.
I've heard it would have something to do with the ModelingAssistant, but haven't got a clue know how to tackle this problem.
Any help is much appreciated!
|
|
|
Re: Popup-list for different relations [message #947876 is a reply to message #946904] |
Wed, 17 October 2012 14:31   |
Eclipse User |
|
|
|
Hi,
if your meta model and mapping model are right you should not have to progam anything to reach this. Do you have 4 different connections in your meta model and for each a link mapping in your mappin model?
Ralph
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10326 seconds