gmf constraints [message #161337] |
Mon, 19 November 2007 14:51 |
Eclipse User |
|
|
|
Originally posted by: r.q.com
Hi,
I have an emf/gmf model. There are value objects, pins and states. in the
model i have defined that one diagram can have only one state and after
generating gmf code its working fine also means i can not drag and drop
only one state in the diagram. similarly i have defined that one pin can
have only one connection with one value objects but in the diagram its
allowing to connect one vo to one pin more than one time. please let me
know how can i restrict these connections. means one value objects should
be connected to one pin only with one connection line. which policy or
validate method or anything i should do to create such constraints.
|
|
|
Re: gmf constraints [message #161668 is a reply to message #161337] |
Tue, 20 November 2007 11:57 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
http://wiki.eclipse.org/GMF_Constraints
r q wrote:
> Hi,
>
> I have an emf/gmf model. There are value objects, pins and states. in
> the model i have defined that one diagram can have only one state and
> after generating gmf code its working fine also means i can not drag and
> drop only one state in the diagram. similarly i have defined that one
> pin can have only one connection with one value objects but in the
> diagram its allowing to connect one vo to one pin more than one time.
> please let me know how can i restrict these connections. means one value
> objects should be connected to one pin only with one connection line.
> which policy or validate method or anything i should do to create such
> constraints.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02910 seconds