Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

[RDE] How do you control menuitem enabling/visibility when extending RDE?

$
0
0

I'm beginning the process of writing additional plug-ins for RDE, and I'm trying to figure/find out how I can control how menuitems are enabled, or even prevent them from showing, dynamically (as I would in Eclipse, for instance).  Right now, it seems like once you register an editor as being capable of editing a given file extension it always shows up in the context menu, but I'd like to be able to control that based on various settings and/or based on the content of that file. Is there an existing mechanism for doing so? If not, could you point me at the code I would need to modify in order to add such a mechanism?


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>