Browse Source

刷新控件栏

master
juhaoyu 8 years ago
parent
commit
599f725a51
  1. 13
      designer_form/src/com/fr/design/mainframe/FormParaPane.java

13
designer_form/src/com/fr/design/mainframe/FormParaPane.java

@ -51,23 +51,18 @@ public class FormParaPane extends JPanel {
private FormDesigner designer;
static {
listenPluginChange();
}
private static void listenPluginChange() {
GeneralContext.listenPluginRunningChanged(new PluginEventListener() {
@Override
public void on(PluginEvent event) {
THIS = null;
}
}, new PluginFilter() {
@Override
public boolean accept(PluginContext context) {
return context.contain(PluginModule.ExtraDesign, CellWidgetOptionProvider.XML_TAG);
}
});

Loading…
Cancel
Save