|Re: [eclipse-scripting-dev] EASE ideas|
First I would like to rename it to visibleWhen, as this is, what it does: when the _expression_ evaluates to false, the script is not visible in the context menu.
To edit such expressions I would love to reuse the editor we use for plugin extensions when we define activeWhen, visibleWhen, ... expressions. Not sure how easy it would be to reuse that forms editor page just for our certain usecase.
Attaching scrips to UI:
Right now we can attach scripts to context menus. It would be great if we could also attach to toolbars and menus all over eclipse. Maybe we could reuse some parts of the discovery mechanism of the menu spy. Like "please click on the toolbar where you want to attach your script to".