import org.simantics.utils.datastructures.hints.HintContext;
import org.simantics.utils.threads.IThreadWorkQueue;
import org.simantics.utils.threads.SyncListenerList;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
*/
public class Project extends HintContext implements IProject {
+ private static final Logger LOGGER = LoggerFactory.getLogger(Project.class);
+
private static IProjectFeature[] NONE = {};
//private static final String TAG_PROJECTS = "projects";
featureSet.clear();
features = NONE;
- } catch (ProjectException e1) {
- // TODO: do something more sensible than print the possible exception!
- e1.printStackTrace();
+ } catch (ProjectException e) {
+ LOGGER.error("Could not dispose Project {}", this, e);
} finally {
lock.unlock();
}
IProjectFeature feature = inactiveFeatures.getFirst();
boolean success = false;
try {
+ LOGGER.info("Configuring project feature {}", feature);
feature.setProjectElement(this);
feature.configure();