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