Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » ActionHandlerFilter to all sections
ActionHandlerFilter to all sections [message #1718395] Wed, 23 December 2015 10:36 Go to next message
Amaury TETREL is currently offline Amaury TETRELFriend
Messages: 9
Registered: December 2015
Junior Member
Hello (again and again =) ),

I'm currently trying to remove the restore button on each section.
Using an ActionHandlerFilter on each section it works, but is there a way to define only one ActionHandlerFilter and apply it to every section of the editor ?

Thank you =)
Re: ActionHandlerFilter to all sections [message #1719443 is a reply to message #1718395] Thu, 07 January 2016 23:31 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
There is no facility to register an action handler filter such that it would apply to multiple contexts.
Re: ActionHandlerFilter to all sections [message #1720238 is a reply to message #1719443] Fri, 15 January 2016 13:51 Go to previous messageGo to next message
Amaury TETREL is currently offline Amaury TETRELFriend
Messages: 9
Registered: December 2015
Junior Member
Thank you for your answer.
And do you think it would be handy to do it programmatically ?
Re: ActionHandlerFilter to all sections [message #1720272 is a reply to message #1720238] Fri, 15 January 2016 17:21 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
The best path if you really need this feature is to add registration of ActionHandlerFilter to sapphire-extension.xml. It would activate globally, but your implementation can examine context and decide whether to filter or not so that you constrain the effect to your editor. Contributions are welcome.
Previous Topic:null context in PossibleValuesService
Next Topic:xml single tags <asdf/>
Goto Forum:
  


Current Time: Fri Apr 26 12:54:41 GMT 2024

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

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

Back to the top