Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323349

Summary: Enable defining shortcuts for triggering features
Product: [Modeling] Graphiti Reporter: Michael Wenz <michael.wenz>
Component: CoreAssignee: Felix Velasco <felix.velasco>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: cpetre, felix.velasco, matthias.gorning, rhett.hudson
Version: 0.7.0Flags: matthias.gorning: kepler+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: Kepler M3 Theme_round_offs

Description Michael Wenz CLA 2010-08-23 03:38:22 EDT
It should be possible for tools to define keyboard shortcuts for triggering features for a selected domain object.
Comment 1 Michael Wenz CLA 2011-07-18 07:16:20 EDT
Out-of-scope for Juno, unless there are contributions in this area
Comment 2 Felix Velasco CLA 2012-10-19 05:01:20 EDT
Solved with commit bf0cfafed440a.

An ExecuteFeatureCommand has been created, so it can be bound to keyboard shortcuts, toolbar elements, etc. It accepts a parameter to let the ToolBehaviorProvider decide which feature gets executed.

Also, an execution context has been created for the diagram, to bind the commands into it. The context is customizable via extension point, to allow for specific command binding.