Update a diagram from another [message #1282003] |
Tue, 01 April 2014 18:27 |
bone Mab Messages: 1 Registered: April 2014 |
Junior Member |
|
|
hi everyone!
I need some help for this problem.
I have three diagram editors like this: super-diagram, sub-diagram and sub-sub-diagram. Double click on a node in the super-diagram opens sub-diagram and double click on a node in the sub-diagram opens sub-sub-diagram.
My problem is that I would like to automatically create a new node in super-diagram when a new sub-sub-diagram is created and update this node with the content of sub-sub-diagram.
I've tried to modify the OpenDiagramEditPolicy of the sub-diagram to get the content of super-diagram using the getParent() method but at now I've got no result. It's seems that I can't directly access the super-diagram from the sub-diagram.
Does Anyone has an idea on how to do this.??
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.02573 seconds