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

Bug 324090

Summary: [Usability] Pulldown Toolbar should be able to execute the last action
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 324274    

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)