Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » earlyStartUp method - disable tool bar icon
earlyStartUp method - disable tool bar icon [message #557741] Wed, 08 September 2010 12:29
Giri G is currently offline Giri G
Messages: 3
Registered: September 2010
Junior Member
I would like to disable the toolbar icon, based on the availability of some site. If the site is up, then my toolbar icon should be enabled. Otherwise, it should be disabled.

I know that, we need to write plugin at earlyStartup() method. However, i dont know, how to get the toolbar icon's handle inside the earlyStartuUp() Method, so that, i can set disable or enable, based on some business logic.

Could some one help me please in this regard.
Previous Topic:Creating a Multi-Page Editor with HTML preview
Next Topic:Diff utility for Text Files
Goto Forum:
  


Current Time: Sat Apr 19 18:36:47 EDT 2014

Powered by FUDForum. Page generated in 0.05408 seconds