Different mappings for the same generated code [message #510053] |
Tue, 26 January 2010 11:39 |
Milan Milanovich Messages: 201 Registered: July 2009 |
Senior Member |
|
|
Hi,
I have one problem regarding generation of elements from gmfmap/gmfgen.
I have multiple FlowElements, like: Task, SubProcess, etc., and two containers:
Pool and Lane. These classes are defined like this:
class Task extends FlowElement { ... }
class SubProcess extendsFlowElement {...}
and containers are defined like this:
class Pool {
flowElements[0..*] : FlowElement;
...
}
class Lane {
flowElementsRef[0..*] : FlowElement;
...
}
I have defined mappings for FlowElements as ChildReferences in the Pool NodeMapping,
and I wanted to reference the same mappings from Lane NodeMapping (by using referenced child
property). However, GMF generated Task2EditPart and SubProcess2EditPart classes and other.
How can I fix this,i.e., to use the same Task and SubProcess EditParts in for the Pool and the Lane ?
--
Regards, Milan
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03668 seconds