|
|
Re: Remove cut/copy/paste from Popup [message #209267 is a reply to message #209251] |
Thu, 23 October 2008 07:51 |
paolo russian Messages: 81 Registered: July 2009 |
Member |
|
|
Prathibha ha scritto:
> Hi Sylvain,
> comment the cut,copy,paste from you plugin.xml.Hope this solves your
> problem.
>
> <ElementType
> class=" org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditP art ">
> <!-- <GlobalActionId actionId="cut"/>
> <GlobalActionId actionId="copy"/>
> <GlobalActionId actionId="paste"/> -->
> </ElementType>
>
>
> regards,
> Prathibha
>
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
corresponding
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?
Regards
Paolo
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05011 seconds