Help to create a constraints in visual editor [message #629611] |
Tue, 28 September 2010 21:59 |
Joseangel 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
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.
No figure can sign up for herself.
flow: is responsible for uniting the different types of components.
start: no thread can reach it, because it is the main component can only have an output stream.
task: You can only have one inflow and one outflow.
exception: You can only have a single input stream, has two output streams.
choice: same exception.
end: you can only have a single input stream, this component can have no outflow
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03402 seconds