Browse Source

REPORT-52490 社区菜单添加模板商城入口

feature/10.0
kuangshuai 4 years ago
parent
commit
72b00b8298
  1. 9
      designer-base/src/main/java/com/fr/design/actions/community/TemplateStoreAction.java
  2. 0
      designer-base/src/main/java/com/fr/design/mainframe/share/collect/CollectorManager.java
  3. 0
      designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentCollector.java
  4. 0
      designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentSender.java
  5. 1
      designer-base/src/main/java/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

9
designer-form/src/main/java/com/fr/design/mainframe/share/ui/menu/TemplateStoreMenu.java → designer-base/src/main/java/com/fr/design/actions/community/TemplateStoreAction.java

@ -1,8 +1,7 @@
package com.fr.design.mainframe.share.ui.menu; package com.fr.design.actions.community;
import com.fr.base.BaseUtils; import com.fr.base.BaseUtils;
import com.fr.design.actions.UpdateAction; import com.fr.design.actions.UpdateAction;
import com.fr.design.i18n.Toolkit;
import com.fr.design.mainframe.share.collect.ComponentCollector; import com.fr.design.mainframe.share.collect.ComponentCollector;
import com.fr.design.menu.MenuKeySet; import com.fr.design.menu.MenuKeySet;
import com.fr.design.utils.BrowseUtils; import com.fr.design.utils.BrowseUtils;
@ -14,9 +13,9 @@ import java.awt.event.ActionEvent;
/** /**
* created by Harrison on 2020/03/24 * created by Harrison on 2020/03/24
**/ **/
public class TemplateStoreMenu extends UpdateAction { public class TemplateStoreAction extends UpdateAction {
public TemplateStoreMenu() { public TemplateStoreAction() {
this.setMenuKeySet(TEMPLATE); this.setMenuKeySet(TEMPLATE);
this.setName(getMenuKeySet().getMenuName()); this.setName(getMenuKeySet().getMenuName());
@ -29,7 +28,7 @@ public class TemplateStoreMenu extends UpdateAction {
@Override @Override
public String getMenuName() { public String getMenuName() {
return Toolkit.i18nText("Fine-Design_Share_Template_Store"); return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Share_Template_Store");
} }
@Override @Override

0
designer-form/src/main/java/com/fr/design/mainframe/share/collect/CollectorManager.java → designer-base/src/main/java/com/fr/design/mainframe/share/collect/CollectorManager.java

0
designer-form/src/main/java/com/fr/design/mainframe/share/collect/ComponentCollector.java → designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentCollector.java

0
designer-form/src/main/java/com/fr/design/mainframe/share/collect/ComponentSender.java → designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentSender.java

1
designer-base/src/main/java/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -591,6 +591,7 @@ public abstract class ToolBarMenuDock {
shortCuts.add(new TechSolutionAction()); shortCuts.add(new TechSolutionAction());
shortCuts.add(SeparatorDef.DEFAULT); shortCuts.add(SeparatorDef.DEFAULT);
shortCuts.add(new TemplateStoreAction());
LocaleCenter.buildAction(new LocaleAction() { LocaleCenter.buildAction(new LocaleAction() {
@Override @Override

Loading…
Cancel
Save