After drag&drop, the node was deleted when i reopen the editor [message #895727] |
Sun, 15 July 2012 12:16 |
Michael Qian Messages: 1 Registered: July 2012 |
Junior Member |
|
|
Hi All,
I'm trying to do drag & drop between treeviewer and editor. And now I can create a shortcut in the editor. But when I reopen the editor, the shortcut disappeared.
And I check the diagram file. The element I draged was deleted.
I compare the diagram file between mine and the Papyrus'. The element href has the format like "href="modelfilename#//@children.0"". But I look at the Papyrus notation file and find that the element href is like "href="modelfilename#id"".
Is that why I can't create a shortcut of a model in another modelfile? Or there is another reason?
--------------------------------------------------------------
In the refreshSemantic() method of **CanonicalEditPolicy class, it call the "deleteViews". That will delete the views if it can't find the model of the view(I think so).
Thanks in adavance!
Michael
[Updated on: Sun, 15 July 2012 13:22] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02973 seconds