| 
| Hide a pop up item based on a system property? [message #331174] | Wed, 27 August 2008 11:36 |  | 
| Eclipse User  |  |  |  |  | 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>
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.02478 seconds