Browse Source

Merge pull request #360 in BA/design from ~KERRY/design:dev to dev

* commit 'ea9937020a5e926418fe6bf9f0957c99685f890c':
  REPORT-418 远程设计不显示插件管理
master
superman 8 years ago
parent
commit
a1c02ee3a2
  1. 3
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

3
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -26,6 +26,7 @@ import com.fr.design.menu.MenuDef;
import com.fr.design.menu.SeparatorDef;
import com.fr.design.menu.ShortCut;
import com.fr.design.menu.ToolBarDef;
import com.fr.env.RemoteEnv;
import com.fr.general.ComparatorUtils;
import com.fr.general.GeneralContext;
import com.fr.general.Inter;
@ -263,7 +264,7 @@ public abstract class ToolBarMenuDock {
);
if (!BaseUtils.isAuthorityEditing()) {
if (shouldShowPlugin()) {
if (shouldShowPlugin() && !(FRContext.getCurrentEnv() instanceof RemoteEnv)) {
menuDef.addShortCut(
new PluginManagerAction(),
new ReuseManagerAction()

Loading…
Cancel
Save