I have menu that has menu items "Add File1", "Add File2, "Save". Each has an associated handler and command. Now I need to disable "Save" menu item, until both "Add File1" and "Add File2" are run atleast once. How can I achieve this?
I assume it can be done using Core expressions but I am unable to understand how to do it especially the plugin.xml modifications. I need a very simple example usage for the above mentioned case.