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