Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPopup-list for different relations
https://www.eclipse.org/forums/index.php/mv/msg/405072/946904/#msg_946904
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!]]>Simon Zutterman2012-10-16T16:10:27-00:00Re: Popup-list for different relations
https://www.eclipse.org/forums/index.php/mv/msg/405072/947876/#msg_947876
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]]>Ralph Gerbig2012-10-17T14:31:05-00:00Re: Popup-list for different relations
https://www.eclipse.org/forums/index.php/mv/msg/405072/948201/#msg_948201
when it didn't work at first i tried enumerations and using relationships as seperate classes, but i went back to 4 simple references and now it works indeed!
Many thanks,
Simon]]>Simon Zutterman2012-10-17T21:19:23-00:00Re: Popup-list for different relations
https://www.eclipse.org/forums/index.php/mv/msg/405072/978988/#msg_978988
I've got the same problem like you first had. Can you maybe explain in a more detailed way how you have resolved this? Maybe you can show me your diagram?
Cheers,
Phil]]>Phil H2012-11-10T14:15:25-00:00Re: Popup-list for different relations
https://www.eclipse.org/forums/index.php/mv/msg/405072/981197/#msg_981197
maybe you could open a new thread describing you problem so that it can be solved.