Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Association Link problem
Association Link problem [message #216059] Wed, 21 January 2009 19:05 Go to next message
Eclipse UserFriend
Hi all,

I have the following problem in my Association Link. The structure is this
may (1), ie, my association (Contribution Link) has its type defined by an
Enum. When I create my Contribution Link this is happening (2). I need
when I create my Contribution Link each type in menu (1)
each type in the menu is set to name EEnumLiteral, eg:

Create MAKE
Create BREAK
Create UNKNOWN
...

(1)http://img502.imageshack.us/my.php?image=93618121vo1.jpg
(2)http://img502.imageshack.us/my.php?image=43211409df1.jpg


Another question,
This Constribution Link contains constraints between Elements (1), for
example, Contribution MAKE only be used between GOAL E TASK. As I do that
for the creation of a Contribution between these elements show in menu
only MAKE (allowed) and not show the other types that can not be used?

Thanks,
Josias Paes
Re: Association Link problem [message #216326 is a reply to message #216059] Fri, 23 January 2009 20:31 Go to previous messageGo to next message
Eclipse UserFriend
Help me ???

Thanks,
Josias Paes
Re: Association Link problem [message #216854 is a reply to message #216059] Fri, 30 January 2009 07:43 Go to previous message
Eclipse UserFriend
Hello Josias,

> each type in the menu is set to name EEnumLiteral, eg:
> Create MAKE
> Create BREAK
> Create UNKNOWN
Then you have to create MAKE, BREAK, ..., UNKNOWN link mappings having own
creation tools and (!) corresponding Feature Seq Initializer/Constraint elements
specified. In other words – make link of each type recognized as a different
link type by GMF.

> only MAKE (allowed) and not show the other types that can not be used?
You have to add appropriate LinkConstraints to the LinkMapping representing
MAKE – this will tell GMF that MAKE link cannot be created from/to some specific
nodes.

-----------------
Alex Shatalin
Previous Topic:modification of ElementInitializers generation
Next Topic:Diagram partitioning - with outline
Goto Forum:
  


Current Time: Mon Jun 30 18:01:42 EDT 2025

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

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

Back to the top