Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » gmf constraints
gmf constraints [message #161337] Mon, 19 November 2007 14:51 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Creating new MetaModel Instance in Action
Next Topic:How to view the tree view outline
Goto Forum:
  


Current Time: Fri Apr 19 18:23:17 GMT 2024

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

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

Back to the top