Community
Participate
Working Groups
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
Synchronized the CommandContributionItem class with Workbench 3.7 release. Changes are in CVS HEAD.