[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: How to change the workbench coolbar composition

You can either use an org.eclipse.ui.actionSets and associate it with your view using org.eclipse.ui.actionSetPartAssociations or with commands you can use org.eclipse.ui.menus and add a visibleWhen clause that cares about the activePartId == viewId

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm