Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[henshin-dev] How to use "Or" nested condition?

Hello everyone,

what I try to do is the following:

there is a rule, and I want to match if there is a "call" OR "send"-Node attached to a (UML-)dependency.

What I understood I can use nested conditions like is the following:

- model the rule
- put the "call" and "send"-nodes into an "Or"-element of the LHS graph
- create Dependency-Nodes in the nested conditions
- do a mapping between the Dependency-Node of the rule and the ones of the nested
  conditions

See rule.pdf: the rule shall match if there there exists a node of type "call" or of type "send" linked to the node named dep.

So I did the modelling as I thought it is right (see modell.png).
But the model editor doesn't accept any kind of action ("require" would be what I need) and the call/send-nodes don't show up in the graphical editor.

So I think I'm making a mistake?

Jens

Attachment: rule.pdf
Description: Adobe PDF document

PNG image


Back to the top