I have a custom widget that uses the zoom to features when my data filtering changes, but sometimes I want to disable this zooming at runtime. How do I allow users to toggle this off and on? Do I save the action for my particular widgetId and then remove it from the list of actions (no disable/.enable property?) and then add it back if they want the zooming functionality back?
DataActionManager.getInstance().getActions()