|Hide/Show RCP ToolBar Item. [message #1031242]
||Mon, 01 April 2013 08:17
| Siddaramaswamy Thippeswamy
Registered: October 2012
The application I am working on requires that a ToolBar Item be visible/invisible based on a boolean value read from config file.
The ToolBar item has been created as an RCP command.We are unable to make use of core expressions to toggle the visibility for theat the application is running on Eclipse 3.3 run time.Hence, It is required that the togggling be implemented in code rather than in plugin.xml using core expressions.
I Thought of execting the command using IHandler Service and dispose the ToolBar Button to make it invisible. But, I could not find a way to dispose or setInvisible.
Please suggest how to go about this.
Powered by FUDForum
. Page generated in 0.01614 seconds