|
Re: copy & paste in GEF [message #18176 is a reply to message #18158] |
Tue, 27 August 2002 17:32 |
Eclipse User |
|
|
|
Originally posted by: hudsonr.spam.com
The registry is just a Map for actions. You can put anything in it. The
purpose of the registry is to manage disposing of Actions, which must be
done to avoid memory leaks. And by sharing this registry with other parts
of your Editor, you only have to do the dispose in one place.
Cut/Copy/Paste are global actions. You ActionBarContributor must register
them with the workbench in the same way that GEF's ActionBarContirbutor
register's Undo/Redo. GEF does not provide C/C/P support because this is
model specific.
"Shelley" <lshelley@ca.ibm.com> wrote in message
news:akgc6r$jkb$1@rogue.oti.com...
> Hi,
>
> Is copy & paste supported in GEF? How should I register the actions to
> the registry if the CopyAction and PasteAction aren't provided in
> com.ibm.etools.gef.ui.actions package?
>
> Thanks.
> Shelley
>
>
|
|
|
Re: copy & paste in GEF [message #18213 is a reply to message #18176] |
Tue, 27 August 2002 17:53 |
Eclipse User |
|
|
|
Originally posted by: lshelley.ibm.com
Thanks. Any help on implementating generic Copy and Paste action classes.
Can I refer to the CopyAction class in org.eclipse.ui.views.navigator?
Or could you suggest some sample code?
Thanks.
Shelley
Randy Hudson wrote:
> The registry is just a Map for actions. You can put anything in it. The
> purpose of the registry is to manage disposing of Actions, which must be
> done to avoid memory leaks. And by sharing this registry with other parts
> of your Editor, you only have to do the dispose in one place.
> Cut/Copy/Paste are global actions. You ActionBarContributor must register
> them with the workbench in the same way that GEF\\\\\\\'s
ActionBarContirbutor
> register\\\\\\\'s Undo/Redo. GEF does not provide C/C/P support because
this is
> model specific.
> \\\\\\\"Shelley\\\\\\\" <lshelley@ca.ibm.com> wrote in message
> news:akgc6r$jkb$1@rogue.oti.com...
> > Hi,
> >
> > Is copy & paste supported in GEF? How should I register the actions to
> > the registry if the CopyAction and PasteAction aren\\\\\\\'t provided in
> > com.ibm.etools.gef.ui.actions package?
> >
> > Thanks.
> > Shelley
> >
> >
|
|
|
Re: copy & paste in GEF [message #18420 is a reply to message #18176] |
Thu, 29 August 2002 14:32 |
Eclipse User |
|
|
|
Originally posted by: Bram.Stieperaere.REMOVEskynet.be
another copy-paste question: lots of diagramming tools (like Rose) support
copy/paste of the current selection in a diagram into the Clipboard of
Windows (so it can be pasted in Word)
Is this technically possible? How would a solution look like?
Bram
|
|
|
|
Powered by
FUDForum. Page generated in 0.03310 seconds