|Multiple Views on a same domainElement [message #1086663]
||Wed, 14 August 2013 14:18
| eclipse user
Registered: July 2013
i'm wondering if it is possible to create more than one View on the same
domain Element with GMF.
Here are the details of the problem.
I've got a Container model object that can contains other model objects.
What i would like, is being able to create 2 differents EditParts for
the contained domain Objects. One for the text, and another one to
handle the Connections.
My ContainerEditPart has a registered CanonicalEditPolicy, but
apparently, it does not allow to have more than one View for the same
domainObject(i tried to register a specify a dedicated elementType for
the ConnectionsHandlersEditParts), i would need to override some
methods, but they are all final, so its not a solution. And i dont want
to add a dummy class in my model to match the ConnectionsHandler
EditPart, i've got no use for them.
|1. A |
|2. B |
|3. C |
|1|2|3| <---- EditPart to handle connections
Thanks for your help.
[Updated on: Wed, 14 August 2013 14:25]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.17322 seconds