[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: implementing cut/copy/paste

Yes, you'll have to write your own actions (in addition to the retarget
actions that you've already created) and add them to your Editor's
actionRegistry.  Make sure these actions have the same IDs as the retarget
actions.

"Jesper Eskilson" <jojo@xxxxxxxxxxxx> wrote in message
news:u67ekign210.fsf@xxxxxxxxxxxxxxxxxxxx
>
> I'm trying to implement cut/copy/paste in my editor using actions created
> by
>
>         ActionFactory.CUT.create(window)
>
> etc.
>
> I've managed to create the actions and added them to the context menu and
> toolbar, but how do I implement the actual code which performs the
actions?
>
> Or should I implement my own action classes?
>
> --
> /Jesper