Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » cut/copy/paste problem
cut/copy/paste problem [message #183770] Mon, 21 April 2008 22:43
Gary Leask is currently offline Gary LeaskFriend
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.
Previous Topic:Click and drag to select multiple elements shows the popup bar for adding new elements...Why?
Next Topic:How to use OCL to constraint links between nodes?
Goto Forum:
  


Current Time: Tue Apr 23 07:08:40 GMT 2024

Powered by FUDForum. Page generated in 0.03083 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top