|Re: Remove cut/copy/paste from Popup [message #209267 is a reply to message #209251]
||Thu, 23 October 2008 07:51
| paolo russian
Registered: July 2009
Prathibha ha scritto:|
> Hi Sylvain,
> comment the cut,copy,paste from you plugin.xml.Hope this solves your
> class=" org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditP art ">
> <!-- <GlobalActionId actionId="cut"/>
> <GlobalActionId actionId="copy"/>
> <GlobalActionId actionId="paste"/> -->
Hi there, what is the best practice to override these actions? In our
application there's the need to copy & paste an item, and since our
application transforms gmf diagrams in seam web pages via jetemitters,
we provide a objecttype_[timestamp] as node id when one creates an item,
to avoid duplicate id in the webpages.
But happens that if you copy & paste an item these id remain the same
,avoiding somehow the overriden "on creation event" method of the
node that would place a new timestamp.
Debugging leads me into thread, runnable methods far away, so where is
the right place to look for me to intercept the "on paste event" method?
Powered by FUDForum
. Page generated in 0.02051 seconds