| Summary: | [Contributions] widgets: Associating Actions with Buttons | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Joseph Khalil <jkhalil> |
| Component: | UI | Assignee: | Paul Webster <pwebster> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | peter, remy.suen |
| Version: | 2.1 | Keywords: | helpwanted |
| Target Milestone: | 3.4 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Joseph Khalil
Moving Dougs bugs Assigning to component owner PW Changing the IContributionItem API seems like a bad idea. The same result could be achieved by adding a getWidget() method to ActionContributionItem. This would have a minimal impact on other consumers and would be in line with other methods available on this class.
/**
* Returns the widget associated with this contribution item.
*
* @return the widget
*/
public Widget getWidget() {
return widget;
}
Fixed in HEAD >20071130 PW In I20071211-0010 PW |