Browse Source

PFC-607 插件安装删除更新不重启支持

1、修复bug
2、复用之前切换环境时设计器调整的代码,每次设计器插件变动时刷新
master
juhaoyu 8 years ago
parent
commit
bfe28f0bde
  1. 20
      designer_base/src/com/fr/design/mainframe/DesignerFrame.java

20
designer_base/src/com/fr/design/mainframe/DesignerFrame.java

@ -174,26 +174,6 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
this.resetToolkitByPlus(null);
}
{
GeneralContext.listenPluginRunningChanged(new PluginEventListener() {
@Override
public void on(PluginEvent event) {
DesignerContext.getDesignerFrame().refreshEnv(FRContext.getCurrentEnv());
DesignerContext.getDesignerFrame().repaint();
}
}, new PluginFilter() {
@Override
public boolean accept(PluginContext context) {
return context.contain(PluginModule.ExtraDesign);
}
});
}
/**
* @param ad
* @return

Loading…
Cancel
Save