private Featurable createMenu ( ActionRef action ) { final Featurable menu = factory . create ( Medias . create ( PATH . split ( action . getPath ( ) ) ) ) ; menus . add ( menu ) ; return menu ; }
Create menu from action and add to active menus .