[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: How to activate copy, paste, cut

You create actions for those like you would any other actions in the
createActions() method of your editor.  Add RetargetActions in the
ActionBarContributor.

For information on how to add and retrieve data from the System clipboard
look at CopyTemplateAction and PasteTemplateAction (in recent 3.1 builds or
from CVS, not previously).  Or you can look at  the SWT's Clipboard class.

Do you have Copy/Paste for the palette as well (like the logic example)?

"Jose" <jdelgad@xxxxxxxxxxxxx> wrote in message
news:41c2f4579d648f7dac37beb225fdafeb$1@xxxxxxxxxxxxxxxxxx
> Hi everyone!
>
>    I need to activate the copy, cut, paste options but I don't know how to
> do this. Please, help!
>
>    --Jose
>