📄 menufeatureplugininterface.java
字号:
/*
* OPIAM Suite
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package opiam.admin.faare.struts.service;
import opiam.admin.faare.persistence.javabeans.JBTop;
import opiam.admin.faare.service.UserContext;
/**
* Classes which implement code to activate or deactivate menu elements
* must implement this interface.
*/
public interface MenuFeaturePluginInterface
{
/**
* Checks whether a menu element can be displayed or not.
*
* @param featureName menu element name
* @param entry object set as parameter in the menu element configuration
* @param userContext connected user context
*
* @return true to display the menu element, false not to display it.
*/
boolean isActive(String featureName, JBTop entry, UserContext userContext);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -