📄 permissionsadapter.java
字号:
/*
* PermissionsAdapter.java
*
* Created on April 29, 2002, 10:15 PM
*/
package net.sf.navigator.menu;
/**
* Defines a pluggable adapter into the menu framework that is used for
* checking permissions on menus.
*
* @author ssayles
*/
public interface PermissionsAdapter {
/**
* If the menu is allowed, this should return true.
*
* @return whether or not the menu is allowed.
*/
public boolean isAllowed(MenuComponent menu);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -