|
|
@ -169,10 +169,10 @@ public abstract class ToolBarMenuDock { |
|
|
|
if (menuDef instanceof OpenRecentReportMenuDef) { |
|
|
|
if (menuDef instanceof OpenRecentReportMenuDef) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
String ParentName = menuDef.getName(); |
|
|
|
String parentName = menuDef.getName(); |
|
|
|
for (ShortCut shortCut : menuDef.getShortcutList()) { |
|
|
|
for (ShortCut shortCut : menuDef.getShortcutList()) { |
|
|
|
if (shortCut instanceof UpdateAction) { |
|
|
|
if (shortCut instanceof UpdateAction) { |
|
|
|
shortCutsList.add(new UpdateActionModel(ParentName, (UpdateAction) shortCut)); |
|
|
|
shortCutsList.add(new UpdateActionModel(parentName, (UpdateAction) shortCut)); |
|
|
|
} else if (shortCut instanceof MenuDef) { |
|
|
|
} else if (shortCut instanceof MenuDef) { |
|
|
|
addUpdateActionToList((MenuDef) shortCut); |
|
|
|
addUpdateActionToList((MenuDef) shortCut); |
|
|
|
} |
|
|
|
} |
|
|
|