public static Collection < IAction > getRegisteredActions ( ActionScope scope ) { Map < String , IAction > actions = new HashMap <> ( ) ; if ( scope == ActionScope . BOTH || scope == ActionScope . GLOBAL ) { actions . putAll ( getRegistry ( true ) . map ) ; } if ( scope == ActionScope . BOTH || scope == ActionScope . LOCAL ) { actions . putAll ( getRegistry ( false ) . map ) ; } return actions . values ( ) ; }
Returns a collection of actions registered to the specified scope .