I am trying to create a new Action that can be triggered when a component event is fired, and I'm having some trouble finding where I am meant to implement this.
At present, I have registered a new Action in the DesignerHook's DesignerActionRegistry, so it can be selected configured on a component, as well as in the GatewayModuleHook's ActionRegistry (which is where I assume the actual functionality of the Action will be written, but I could be wrong about that since the script I included in the runAction() method of my new Action doesn't seem to be running).
I am also concerned that the ActionRegistry class (at either the Designer scope or Gateway scope) provides a way for me to register new actions, but no way to unregister them, meaning that uninstalling the the module will not actually remove the new action until the Gateway is restarted.
Does anyone have any experience with this to give me some guidance about how to add a new Action to Perspective?