private void generateSubMenu ( final Collection < ActionRef > parents , final ActionRef action , Featurable menu ) { menu . getFeature ( Actionable . class ) . setAction ( ( ) -> { clearMenus ( ) ; createMenus ( parents , action . getRefs ( ) ) ; } ) ; }
Generate sub menu creation if menu contains sub menu .