Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Basic questions about links
Basic questions about links [message #536246] Thu, 27 May 2010 09:22
Eclipse UserFriend
I am rather new to GMF and I after some hours spent reading tutorials & books (Eclipse Modeling Project: a DSL Toolkit and others) I still to understand some points.

In particular I am wondering how to realize a link in this situation:

I have a class (Let's call it Button) and this button has a reference called "goTo" to a Page. So far so good. When I have to map it I don't know how.

In particular I have to set this properties of the Link Mapping:
- Containment Feature
- Element
- Source feature
- Target feature

Element is of course the Button itself and Containment feature it is a feature of the class containing the buttons (Page in this case), Target feature is the "goTo". But Source feature what is?

I added a dummy derived feature to Button implemented as "return this" to have a feature of the button representing the button itself but I imagine that is not the intended solution... advices?

Federico
Previous Topic:GMF RC2
Next Topic:Multiple figure types for one Ecore class
Goto Forum:
  


Current Time: Mon May 19 21:10:17 EDT 2025

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

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

Back to the top