Community
Participate
Working Groups
This patch just adds two methods in the *EmfActionBarContributor* class to manage the enablement state of the ActionBar's GlobalHandler. It also adds one method in the *EmfMasterDetailBlock* class which registers a *FocusListener* that will be responsible to enable/disable the ActionBar's GlobalHandler. Basically when the MasterPart's TreeViewer gains the focus the FocusListener enable the corresponding ActionBar's GlobalHandler, and disable it when it loses the focus.
Created attachment 146266 [details] Manage ActionBarContributor's GlobalHandlers enablement state
patch integrated in HEAD, thanks Sébastien! :)