Distinguish different representations of the same class instance [message #1435369] |
Wed, 01 October 2014 07:59  |
Eclipse User |
|
|
|
Hi,
I have want to create an editor for an model which represents the composition of components. The metamodel wraps each of these components in different contexts. Those contexts are my nodes and I created Bordered Nodes for their ports which I got from the wrapped component. My problem is now, that if there are two contexts with the same component both ports are mappings of the same object. So far I could not think of a way to distinguish those, is it somehow possible?
A workaround I thought of was to create custom decorators for edge so that I could create the edge directly to the context. But I dont think this is the best way and I dont even know how to create custom decorators.
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05206 seconds