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

Bug 81295

Summary: [Contributions] RetargetAction does not work for IAction.AS_DROP_DOWN_MENU
Product: [Eclipse Project] Platform Reporter: Pratik Shah <ppshah>
Component: UIAssignee: Paul Webster <pwebster>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: mmichel.celad
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Pratik Shah CLA 2004-12-15 14:39:22 EST
It should get the MenuCreator from its ActionHandler.
Comment 1 Marc MICHEL CLA 2006-01-13 08:06:28 EST
add in your RetargetAction (like for the run method) : 
/**
 * @see org.eclipse.jface.action.Action#getMenuCreator()
 */
@Override
public IMenuCreator getMenuCreator() {
  return this.getActionHandler().getMenuCreator();
}
Comment 2 Michael Van Meekeren CLA 2006-04-21 13:56:37 EDT
Moving Dougs bugs
Comment 3 Paul Webster CLA 2007-04-05 19:03:49 EDT
Assigning to component owner
PW
Comment 4 Paul Webster CLA 2007-06-21 10:30:35 EDT
This is the programmatic side of bug 41401
PW


*** This bug has been marked as a duplicate of bug 41401 ***