Bug 512690 - Provide API to listen and intercept commands from IExecutionListener extension.
Summary: Provide API to listen and intercept commands from IExecutionListener extension.
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 4.8   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 8519
  Show dependency tree
 
Reported: 2017-02-24 08:15 EST by Fabio Zadrozny CLA
Modified: 2017-11-06 12:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Zadrozny CLA 2017-02-24 08:15:12 EST
The idea is that the macro engine will use this API to whitelist/blacklist commands and will also use it to record the execution of a command when it's actually executed.
Comment 1 Eclipse Genie CLA 2017-02-24 08:27:00 EST
New Gerrit change created: https://git.eclipse.org/r/91792
Comment 2 Fabio Zadrozny CLA 2017-03-08 13:12:50 EST
I've abandoned the patch related for now... investigating further, ideally it shouldn't be the keybinding dispatcher to be intercepted, but the org.eclipse.core.commands.CommandManager (so that even commands from menu items could be intercepted, not only commands issued through keybindings).

As it's too late for this already, my idea is waiting for 4.7 to provide a patch.
Comment 3 Fabio Zadrozny CLA 2017-03-08 13:13:15 EST
Oops, I meant 4.8.
Comment 4 Fabio Zadrozny CLA 2017-11-06 12:32:52 EST
Closing for now, making macro work with what's available without blacklisting.