public static ToolbarBaseAction getToolbarAction ( String key , MapWidget mapWidget ) { ToolCreator toolCreator = REGISTRY . get ( key ) ; if ( null == toolCreator ) { return null ; } return toolCreator . createTool ( mapWidget ) ; }
Get the toolbar action which matches the given key .