Correctly repaint JobList when optimization is done.

This commit is contained in:
Fabian Becker 2014-11-13 17:13:52 +01:00
parent 4326044a1b
commit 153b6e3974

View File

@ -41,10 +41,6 @@ public class GenericModuleAdapter extends AbstractModuleAdapter implements Seria
processor = new Processor(statisticsModule, params); processor = new Processor(statisticsModule, params);
processor.addListener(this); processor.addListener(this);
// the statistics want to be informed if the strategy or the optimizer (which provide statistical data as InterfaceAdditionalInformer) change.
// THIS is now done directly in the constructor of a Processor
// if (m_StatisticsModul.getStatisticsParameter() instanceof InterfaceNotifyOnInformers)
// params.addInformableInstance((InterfaceNotifyOnInformers)m_StatisticsModul.getStatisticsParameter());
// this prevents the optimizer property to be shown by the GOE if optimizerExpert is true // this prevents the optimizer property to be shown by the GOE if optimizerExpert is true
GenericObjectEditor.setExpertProperty(params.getClass(), "optimizer", optimizerExpert); GenericObjectEditor.setExpertProperty(params.getClass(), "optimizer", optimizerExpert);
@ -116,6 +112,7 @@ public class GenericModuleAdapter extends AbstractModuleAdapter implements Seria
@Override @Override
public void performedStop() { public void performedStop() {
super.performedStop(); super.performedStop();
jobPanel.getEditor().getCustomEditor().repaint();
} }
public static String getName() { public static String getName() {