Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » The visibleWhen of toolbar does not work well on Eclipse 4.2(Could anyone give some advices about this problem?)
The visibleWhen of toolbar does not work well on Eclipse 4.2 [message #1059435] Sat, 18 May 2013 11:31
Matthew Liu is currently offline Matthew LiuFriend
Messages: 9
Registered: March 2013
Junior Member
Hello all,

The following snippet works well for Eclipse 3.7.1, but fails to work on Eclipse 4.2.

Eclipse Modeling Tools
Version: Juno Service Release 2
Build id: 20130225-0426

Could anyone give a hint on this problem? Thanks!

<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar id="com.toolbarID">
<command commandId="com.check" icon="icons/check.gif" id="com.check"
style="push" tooltip="Check">
<visibleWhen checkEnabled="false">
<with variable="selection">
<iterate ifEmpty="false">
<instanceof value="org.eclipse.core.internal.resources.File">
<test property="" value="*.mydsl">
Previous Topic:Selection service is triggered on focus for a treeviewer ?
Next Topic:"Install new software" window not showing properly in Debian 7
Goto Forum:

Current Time: Wed May 23 13:17:52 GMT 2018

Powered by FUDForum. Page generated in 0.01487 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top