* commit '4bc79f9c7e77314eb35040413c269997ef6feafb': REPORT-419 更新升级在远程设计禁止使用
@ -18,6 +18,7 @@ public interface MenuHandler extends Mutable {
int LAST = -1;
int HIDE =-2;
String HELP = "help";
String SERVER = "server";
@ -525,6 +525,9 @@ public abstract class ToolBarMenuDock {
for (MenuHandler handler : target) {
int insertPosition = handler.insertPosition(menuDef.getShortCutCount());
if (insertPosition == MenuHandler.HIDE) {
return;
}
ShortCut shortCut = action.methodAction(handler);
if (shortCut == null) {
continue;