| Summary: | CommandContributionItem - public API missing 'public CommandContributionItemParameter getData()' | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Andrei Neshcheret <a.nesheret> |
| Component: | Workbench | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.4 | ||
| Target Milestone: | 1.5 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Synchronized the CommandContributionItem class with Workbench 3.7 release. Changes are in CVS HEAD. |
Build Identifier: I20110613-1736 I have a custom 'FormTextManager extends org.eclipse.jface.action.ContributionManager' like ToolBarManager with support for CommandContributionItem and IAction in RCP this works wery well. In RAP compile problems due to public API missing. /** * Provide info on the rendering data contained in this item. * * @return a {@link CommandContributionItemParameter}. Valid fields are * serviceLocator, id, style, icon, disabledIcon, hoverIcon, label, * helpContextId, mnemonic, tooltip. The Object will never be * <code>null</code>, although any of the fields may be * <code>null</code>. * @since 3.7 */ public CommandContributionItemParameter getData() { CommandContributionItemParameter data = new CommandContributionItemParameter( serviceLocator, getId(), null, style); data.icon = contributedIcon; data.disabledIcon = contributedDisabledIcon; data.hoverIcon = contributedHoverIcon; data.label = contributedLabel; data.helpContextId = helpContextId; data.mnemonic = mnemonic; data.tooltip = tooltip; return data; } Reproducible: Always