Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323349 - Enable defining shortcuts for triggering features
Summary: Enable defining shortcuts for triggering features
Status: VERIFIED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Felix Velasco CLA
QA Contact:
URL:
Whiteboard: Kepler M3 Theme_round_offs
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 03:38 EDT by Michael Wenz CLA
Modified: 2012-10-23 09:19 EDT (History)
4 users (show)

See Also:
matthias.gorning: kepler+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.