Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » changing visibility of a command
changing visibility of a command [message #1734999] Tue, 14 June 2016 14:16
Jann Schneider is currently offline Jann SchneiderFriend
Messages: 4
Registered: July 2009
Junior Member

i have a command to open an editor i've implemented. If the editor is already open i want to hide this command. So i added a visibleWhen block checking the type of the active editor. This works very nice except the situation if no editor is open at all. Currently i'm using this:

value="<my editor type>">

Well if checking e.g. the current selection you can use isEmpty="true" or something like that. But i cannot find a solution to show the command if no editor is open at all.

Any pointers would be apriciated!

Thanks, Jann
Previous Topic:How can i add multiple banner with eclipse rcp?
Next Topic:Hiding the "View Menu" button
Goto Forum:

Current Time: Thu Dec 03 20:53:46 GMT 2020

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

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

Back to the top