Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » adding Revert capabilities
adding Revert capabilities [message #113842] Thu, 21 August 2003 14:17 Go to next message
Eclipse UserFriend
Originally posted by: sddg.yahoo.com

I have created my own file editor. I want to enable at some point of time
the Revert action in the file menu (when the file is changed, i.e. when the
save function is enabled)
How is this done?
Re: adding Revert capabilities [message #125995 is a reply to message #113842] Tue, 09 September 2003 18:57 Go to previous message
Eclipse UserFriend
Originally posted by: knut_radloff.oti.com

Revert is a retargetable action. You can set an action handler in your editor using IActionBars.setGlobalActionHandler

Knut
"Sui Ma" <sddg@yahoo.com> wrote in message news:bi2k8r$tvi$1@eclipse.org...
> I have created my own file editor. I want to enable at some point of time
> the Revert action in the file menu (when the file is changed, i.e. when the
> save function is enabled)
> How is this done?
>
>
>
Previous Topic:Moving a class to another package with Refactor feature?
Next Topic:Topics node not collapsing
Goto Forum:
  


Current Time: Thu Dec 26 22:30:22 GMT 2024

Powered by FUDForum. Page generated in 0.03894 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top