Browse Source

删除无需的监听

feature/big-screen
yaohwu 5 years ago
parent
commit
a6b812b0d2
  1. 7
      designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellExpandExtraAttrPane.java

7
designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellExpandExtraAttrPane.java

@ -21,11 +21,8 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import static com.fr.plugin.observer.PluginEventType.AfterActive;
import static com.fr.plugin.observer.PluginEventType.AfterInstall;
import static com.fr.plugin.observer.PluginEventType.AfterRun; import static com.fr.plugin.observer.PluginEventType.AfterRun;
import static com.fr.plugin.observer.PluginEventType.AfterStop; import static com.fr.plugin.observer.PluginEventType.AfterStop;
import static com.fr.plugin.observer.PluginEventType.AfterUpdate;
/** /**
* @author yaohwu * @author yaohwu
@ -60,10 +57,6 @@ public class CellExpandExtraAttrPane extends JPanel {
}; };
EventDispatcher.listen(AfterRun, listener, filter); EventDispatcher.listen(AfterRun, listener, filter);
EventDispatcher.listen(AfterStop, listener, filter); EventDispatcher.listen(AfterStop, listener, filter);
EventDispatcher.listen(AfterInstall, listener, filter);
EventDispatcher.listen(AfterUpdate, listener, filter);
EventDispatcher.listen(AfterActive, listener, filter);
EventDispatcher.listen(AfterActive, listener, filter);
} }
public static CellExpandExtraAttrPane getInstance() { public static CellExpandExtraAttrPane getInstance() {

Loading…
Cancel
Save