|
|
|
@ -5,6 +5,7 @@ import com.fr.design.beans.BasicBeanPane;
|
|
|
|
|
import com.fr.design.fun.CellExpandAttrPanelProvider; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
|
import com.fr.event.EventDispatcher; |
|
|
|
|
import com.fr.plugin.context.PluginContext; |
|
|
|
|
import com.fr.plugin.injectable.PluginModule; |
|
|
|
@ -52,7 +53,12 @@ public class CellExpandExtraAttrPane extends JPanel {
|
|
|
|
|
PluginEventListener listener = new PluginEventListener() { |
|
|
|
|
@Override |
|
|
|
|
public void on(PluginEvent event) { |
|
|
|
|
CellExpandExtraAttrPane.getInstance().refresh(); |
|
|
|
|
UIUtil.invokeLaterIfNeeded(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
CellExpandExtraAttrPane.getInstance().refresh(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
EventDispatcher.listen(AfterRun, listener, filter); |
|
|
|
|