📄 butormenufactory.java
字号:
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file. */package org.butor.web.menu;import java.util.Locale;import org.butor.log.Log;import org.butor.security.ISecurityChecker;/** * Factory for get menu objects. * * @author Nguyen The Hung */public abstract class ButorMenuFactory { /** * Get the menu object. * @param menuId java.lang.String Name of the menu. * @param locale java.util.Locale * @param securityProvider Security provider to check menu item access rights. * * @return org.butor.wak.menu.ButorMenu */ public static ButorMenu getMenu(String menuId, Locale locale, ISecurityChecker securityChecker) { Log.logStr(Log.LOG_LEVEL_LOW, ButorMenuFactory.class, Log.LOG_TYPE_INFO, "getMenu()", "Building menu."); MenuLoader loader = new MenuLoader(locale, menuId, securityChecker); ButorMenu menu = loader.getMenu(); return menu; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -