Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Hide a pop up item based on a system property?
Hide a pop up item based on a system property? [message #331174] Wed, 27 August 2008 15:36
Chris Grant is currently offline Chris GrantFriend
Messages: 45
Registered: July 2009
Member
Hi:

We have an RCP application. Most of our actions are done through
plugin.xml code. I have a objectContribution pop up item that I want to
completely hide from all users except one where that user would set an ENV
VAR. Seems i can have them dimmed now but not completely hidden. Is
there a way to do this? Here is my objectContribution below.

Thanks,

Chris



<objectContribution id="com.x4m.vmui.GridPointSetContribution"
objectClass="com.x4m.feature.model.Feature">
<visibility>
<and>
<objectClass name="com.x4m.datamodel.interpretation.PointSet"/>
<or>
<systemProperty name="transform.licensed" value="false"/>
<systemProperty name="com.x4m.TerraFusion" value="true"/>
</or>
</and>
</visibility>

<action
label="Grid this Point Set..."
class="com.x4m.vmui.GridPointSetAction"
id="com.x4m.vmui.GridPointSet">
</action>
</objectContribution>
Previous Topic:Eclipse 3.4 - 64 bit UI tests
Next Topic:scanning for task for the tasks view.
Goto Forum:
  


Current Time: Tue Jul 16 08:11:21 GMT 2024

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

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

Back to the top