I want to generate an editor with GMF and after that customize the code (I do it in a new plugin and "override" the extension points).
My metamodel is a process model and there is existing element Process. It has a containment reference (1..1) to element Task named startTask. Task can be If, While,.. and Sequence. A Sequence has one Task body and one Task follower(both containment references).
I want to realize the Sequence-Task as Link, but for that i need first 2 nodes. But i cannot create two task-nodes in the Process body because only one is allowed.
How can i solve this problem?
1. Add the link first and afterwards the nodes? But i don't know how to do it.
2. Enable adding more than 1 node to the process body without changing the metamodel.
Has anybody more ideas or can give me some efforts to solve 1. or 2.??? Help!