|changing visibility of a command [message #1734999]
||Tue, 14 June 2016 14:16
| Jann Schneider
Registered: July 2009
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!
Powered by FUDForum
. Page generated in 0.02043 seconds