Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Help to create a constraints in visual editor(Create a constraints on gmfmap for visual editor )
Help to create a constraints in visual editor [message #629611] Tue, 28 September 2010 21:59
Joseangel  is currently offline Joseangel Friend
Messages: 2
Registered: September 2010
Junior Member
hello:

I'm working on a plug in, but I have doubts about how they communicate EMF and GMF, attached a picture of the model classes

http://cooi.qumax.org/ecorediag.png

http://cooi.qumax.org/ecore_diagram.png


now attached a picture of the visual editor until I, the visual part is almost over, what I need now is to establish certain restrictions attached each image and explain what the restriction.

http://cooi.qumax.org/diagrama_tfd.png

No figure can sign up for herself.
http://cooi.qumax.org/Flow.gifflow: is responsible for uniting the different types of components.
http://cooi.qumax.org/Start.gifstart: no thread can reach it, because it is the main component can only have an output stream.
http://cooi.qumax.org/Task.giftask: You can only have one inflow and one outflow.
http://cooi.qumax.org/Exception.gifexception: You can only have a single input stream, has two output streams.
http://cooi.qumax.org/Choice.gifchoice: same exception.
http://cooi.qumax.org/End.gifend: you can only have a single input stream, this component can have no outflow
http://cooi.qumax.org/Failure.gif failure: same end.
fork: can only have a single input stream, this component can have any number of output streams.
join: this component can have any number of inflows, however, can only have a single output stream.

Join and fork both are the rectangle


restrict the first point of a component point I made it himself with the condition in the *. gmfmap, specifically in the flow map, with "link constraint" -> "source end constraint" with the following statement OCL " self <> Opposite End ", works perfectly, but not as establishing other restrictions from the other components, hopefully I can help, thanks.
Previous Topic:manually create notation views for underlying semantic elements.
Next Topic:Can't enter GMF bug into Bugzilla
Goto Forum:
  


Current Time: Sun Sep 22 18:56:51 GMT 2024

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

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

Back to the top