Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 41401 - [Contributions] dynamic: Action definition style="pulldown" and retarget="true" does not work
Summary: [Contributions] dynamic: Action definition style="pulldown" and retarget="tru...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 81295 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-11 14:34 EDT by Dani Megert CLA
Modified: 2009-01-27 10:30 EST (History)
1 user (show)

See Also:


Attachments
Schema update v01 (11.31 KB, patch)
2009-01-19 09:48 EST, Paul Webster CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2003-08-11 14:34:52 EDT
I20030812

In XML I defined an action with style="pulldown" and retarget="true".

The retargeted action only gets informed about button being pressed. The drop
down menu is not opened. To get the menu I had to register a delegate in the XML
(class="...") which handles the menu. The expected behavior would be to
delegate the opening of the drop down menu to the retargeted action as well.

Please note that above XML definition also results in errors being written to .log:
!ENTRY org.eclipse.ui 4 4 Aug 11, 2003 20:13:50.682
!MESSAGE Could not create action delegate for id:
org.eclipse.ui.edit.text.gotoNextAnnotation
!ENTRY org.eclipse.core.runtime 4 2 Aug 11, 2003 20:13:50.682
!MESSAGE Executable extension definition for "class" not found.
Comment 1 Chris McLaren CLA 2005-12-12 16:57:33 EST
Reassigning to Platform-UI-Inbox (I left IBM 18 months ago..)
Comment 2 Michael Van Meekeren CLA 2006-04-21 13:56:19 EDT
Moving Dougs bugs
Comment 3 Paul Webster CLA 2007-04-05 19:02:36 EDT
Assigning to component owner
PW
Comment 4 Paul Webster CLA 2007-06-20 13:24:13 EDT
This item has been fixed/superceded by the menu contribution mechanism - bug 154130

A command contributed to a menu can have its dropdown menu also filled in by a menuContribution, as well as a dynamic (programmatic) contribution

PW
Comment 5 Dani Megert CLA 2007-06-21 04:10:24 EDT
Obviously style="pulldown" and retarget="true" is still not working, hence this should be documented in the extension point doc together with the syntax that now works (i.e. something like:
The combination of style="pulldown" and retarget="true" is not supported. Instead use:
< example goes here >
Comment 6 Paul Webster CLA 2007-06-21 10:30:35 EDT
*** Bug 81295 has been marked as a duplicate of this bug. ***
Comment 7 Paul Webster CLA 2009-01-19 09:48:52 EST
Created attachment 122938 [details]
Schema update v01
Comment 8 Paul Webster CLA 2009-01-19 09:49:58 EST
(In reply to comment #7)
> Created an attachment (id=122938) [details]
> Schema update v01
> 


Released to HEAD >20090119
PW
Comment 9 Paul Webster CLA 2009-01-27 10:30:29 EST
In I20090127-0100