org.simantics.modeling.ontology;bundle-version="1.2.0",
org.simantics.fastlz;bundle-version="1.2.1",
org.apache.commons.compress;bundle-version="1.7.0",
- org.simantics.lz4;bundle-version="1.3.0"
+ org.simantics.lz4;bundle-version="1.3.0",
+ org.slf4j.api;bundle-version="1.7.0"
Export-Package: org.simantics.simulation,
org.simantics.simulation.data,
org.simantics.simulation.experiment,
import org.simantics.simulation.model.IModel;
import org.simantics.ui.workbench.WorkbenchShutdownService;
import org.simantics.utils.datastructures.ListenerList;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* Simple local ExperimentManager implementation
*/
public class ExperimentManager implements IExperimentManager {
+ private static final Logger LOGGER = LoggerFactory.getLogger(ExperimentManager.class);
+
CopyOnWriteArrayList<IExperimentManagerListener> listeners = new CopyOnWriteArrayList<IExperimentManagerListener>();
ListenerList<IExperiment> experiments = new ListenerList<IExperiment>(IExperiment.class);
IExperiment activeExperiment;
if (!listeners.isEmpty()) {
// Some clients are leaking listeners. Shame on them.
- System.err.println("ExperimentManager still contains the following listeners after disposal:");
+ LOGGER.warn("ExperimentManager still contains the following listeners after disposal:");
for (IExperimentManagerListener listener : listeners)
- System.err.println("\t" + listener);
+ LOGGER.warn("\t" + listener);
}
}
}