[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: ActionSet visibility

Hi,

Thank you once again for helping me to understand commands.

Our plugin is similar to MySQL QueryBrowser for MySQL. i.e enables querying and modifying the database. We have actions for connect,  disconnect and db maintenance operations. We have our own perspective & views. We want to show the db maintenance actions only when connected to database. 

But when the user selects th perspective when he is not connected to a database, all the views are empty. Now i want the db actions except connect to be disabled. We initially thought of using an Action registry to enable\disable actions. 

Could you please confirm whether this the right approach, as our plugin was built this way.

Thank you,
dheer