|
|
@ -240,8 +240,13 @@ public class MainDesigner extends BaseDesigner { |
|
|
|
|
|
|
|
|
|
|
|
if (WorkContext.getCurrent().isRoot()) { |
|
|
|
if (WorkContext.getCurrent().isRoot()) { |
|
|
|
menuDef.addShortCut( |
|
|
|
menuDef.addShortCut( |
|
|
|
new ServerConfigManagerAction(), |
|
|
|
new ServerConfigManagerAction() |
|
|
|
new TemplateThemeManagerAction(), |
|
|
|
); |
|
|
|
|
|
|
|
JTemplate<?, ?> jt = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
|
|
|
if (JTemplate.isValid(jt)) { |
|
|
|
|
|
|
|
menuDef.addShortCut(new TemplateThemeManagerAction()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
menuDef.addShortCut( |
|
|
|
new WidgetManagerAction() |
|
|
|
new WidgetManagerAction() |
|
|
|
); |
|
|
|
); |
|
|
|
menuDef.addShortCut(new ChartPreStyleAction(), new ChartEmptyDataStyleAction(),new ChartMapEditorAction()); |
|
|
|
menuDef.addShortCut(new ChartPreStyleAction(), new ChartEmptyDataStyleAction(),new ChartMapEditorAction()); |
|
|
|