|
|
@ -166,11 +166,10 @@ public abstract class ToolBarMenuDock { |
|
|
|
* @param menuDef |
|
|
|
* @param menuDef |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void addUpdateActionToList(MenuDef menuDef) { |
|
|
|
private void addUpdateActionToList(MenuDef menuDef) { |
|
|
|
|
|
|
|
|
|
|
|
String ParentName = menuDef.getName(); |
|
|
|
|
|
|
|
if (menuDef instanceof OpenRecentReportMenuDef) { |
|
|
|
if (menuDef instanceof OpenRecentReportMenuDef) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
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)); |
|
|
|