[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Copy & Paste, CopyPaste, Duplication

Hello Peter,

As far as I can see, UUIDs should be enabled in
..taipan.gmf.editor.rcp/plugin.xml, but that does not seem to have an
effect:
<extension point="org.eclipse.emf.ecore.extension_parser">
<?gmfgen generated="true"?>
<parser
type="taipan_diagram"
class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory">
</parser>
</extension>
This means UUID support is switched on for *.taipan_diagram resoruces (diagram files). To make cut/copy/paste functionality working you have to switch on this support for *.taipan resources too.

Another strange thing is, that it works as expected when I drag/drop
the node pressing Ctrl. A deep copy of the node is created.
Is it something like "edit/duplicate" action from the popup menu?

-----------------
Alex Shatalin