Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Basic questions about links
Basic questions about links [message #536246] Thu, 27 May 2010 13:22
Federico Tomassetti is currently offline Federico TomassettiFriend
Messages: 190
Registered: July 2009
Location: Dublin
Senior Member

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?


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

Current Time: Sat May 18 04:07:57 GMT 2024

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

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

Back to the top