public class MenuConfigManagerDefault extends Object implements MenuConfigManager
Constructor and Description |
---|
MenuConfigManagerDefault() |
public TemplateRender getTemplateRender()
public void setTemplateRender(TemplateRender templateRender)
public void addMenuConfigs(MenuConfigs configs)
MenuConfigManager
addMenuConfigs
in interface MenuConfigManager
public void removeMenuConfigs(MenuConfigs configs)
MenuConfigManager
removeMenuConfigs
in interface MenuConfigManager
public MenuConfig getMenuConfig(String menuId)
MenuConfigManager
getMenuConfig
in interface MenuConfigManager
public void addMenuConfig(MenuConfig config)
addMenuConfig
in interface MenuConfigManager
public void removeMenuConfig(MenuConfig config)
MenuConfigManager
removeMenuConfig
in interface MenuConfigManager
public void addSystemCommand(SystemCommand command)
MenuConfigManager
addSystemCommand
in interface MenuConfigManager
public void removeSystemCommand(SystemCommand command)
MenuConfigManager
removeSystemCommand
in interface MenuConfigManager
public List<SystemCommand> getSystemCommandList()
MenuConfigManager
getSystemCommandList
in interface MenuConfigManager
public SystemCommand getSystemCommand(String command)
getSystemCommand
in interface MenuConfigManager
command
- public CommandExecutor getCommandExecutor(String menuId, String command, Context context)
MenuConfigManager
getCommandExecutor
in interface MenuConfigManager
protected DefaultCommandExecutor createDefaultCommandExecutor(CommandHandler handler)
handler
- protected DefaultCommandExecutor createDefaultCommandExecutor(BaseCommand baseCommand)
baseCommand
- protected DefaultCommandExecutor createMenuConfigShowExecutor()
Copyright © 2006–2018 TinyGroup. All rights reserved.