cut/copy/paste problem [message #183770] |
Mon, 21 April 2008 22:43 |
Gary Leask Messages: 28 Registered: July 2009 |
Junior Member |
|
|
I have an ecore that defines my diagram and a top level node. I have
different categories of nodes with different attributes on each.
I have partitioned these different types of nodes into there own ecore.
Now, however when i do a cut and paste of the nodes on the canvas the
nodes are not pasted because in the NotationClipboardOpertationHelper
class the method shouldAllowPaste returns false because the
semanticChildEpackage != sematicDiagramRootContainerEpackage
package2 != package1
The actual childImpl in package2 extends of the
myNodeImpl in package1
Is there anyway to get the semanticChildEpackage to recognize it is a
child (extends) of the sematicDiagramRootContainerEpackage and should be
copied.
|
|
|
Powered by
FUDForum. Page generated in 0.03083 seconds