]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.aeri.ui.redmine.core/src/org/simantics/aeri/redmine/core/internal/Activator.java
Experiment around with AERI in Simantics Products
[simantics/platform.git] / bundles / org.simantics.aeri.ui.redmine.core / src / org / simantics / aeri / redmine / core / internal / Activator.java
diff --git a/bundles/org.simantics.aeri.ui.redmine.core/src/org/simantics/aeri/redmine/core/internal/Activator.java b/bundles/org.simantics.aeri.ui.redmine.core/src/org/simantics/aeri/redmine/core/internal/Activator.java
new file mode 100644 (file)
index 0000000..705c02d
--- /dev/null
@@ -0,0 +1,24 @@
+package org.simantics.aeri.redmine.core.internal;
+
+import org.eclipse.epp.logging.aeri.core.SystemControl;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.simantics.aeri.redmine.core.di.RedmineAERISettingsCreationFunction;
+import org.simantics.aeri.redmine.core.settings.RedmineAERISettings;
+
+public class Activator implements BundleActivator {
+
+    public static final String BUNDLE_ID = "org.simantics.aeri.redmine.core"; //$NON-NLS-1$
+    
+    @Override
+    public void start(BundleContext context) throws Exception {
+        SystemControl.getSystemContext().set(RedmineAERISettings.class.getName(), new RedmineAERISettingsCreationFunction());
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        // TODO Auto-generated method stub
+
+    }
+
+}