Bug 324090 - [Usability] Pulldown Toolbar should be able to execute the last action
Summary: [Usability] Pulldown Toolbar should be able to execute the last action
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324274
  Show dependency tree
 
Reported: 2010-08-31 09:44 EDT by Vincent Lorenzo CLA
Modified: 2017-09-08 09:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2010-08-31 09:44:57 EDT
The new Papyrus Toolbar (Show/Hide, Alignment, and so on) should be able to execute the last executed action, like the GMF Toolbar.
Moreover, it should be interesting change the tooltip and the icon following the last executed action.


I think there is 2 ways to do that
	1. In the handler of the action, in the method Execute(event) get the menu parent (event.getTrigger().widget ... )and change these informations (my tests are inconclusive)
	2. Do a dynamic Menu Contribution to get these behaviors (not tested)