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 16:29
Giri G is currently offline Giri GFriend
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:showView fails to show the view from preShutdown()
Goto Forum:

Current Time: Tue Mar 28 17:53:50 GMT 2017

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

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