Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Hide/Show RCP ToolBar Item.(It is required to hide/show a ToolBar Item implemented as a command.)
Hide/Show RCP ToolBar Item. [message #1031242] Mon, 01 April 2013 12:17
Siddaramaswamy Thippeswamy is currently offline Siddaramaswamy ThippeswamyFriend
Messages: 2
Registered: October 2012
Junior Member
Hi All,

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.

Thanks,
Siddu
Previous Topic:Avoid menu dismissal / closing when clicking
Next Topic:No property tester contributes a property
Goto Forum:
  


Current Time: Thu Dec 18 15:29:03 GMT 2014

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

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