Import views plugins
[deliverable/tracecompass.git] / tmf / org.lttng.scope.tmf2.views.core / src / org / lttng / scope / tmf2 / views / core / activator / internal / Activator.java
diff --git a/tmf/org.lttng.scope.tmf2.views.core/src/org/lttng/scope/tmf2/views/core/activator/internal/Activator.java b/tmf/org.lttng.scope.tmf2.views.core/src/org/lttng/scope/tmf2/views/core/activator/internal/Activator.java
new file mode 100644 (file)
index 0000000..c659479
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2017 EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com>
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.lttng.scope.tmf2.views.core.activator.internal;
+
+import org.lttng.scope.common.core.ScopeCoreActivator;
+import org.lttng.scope.tmf2.views.core.context.ViewGroupContext;
+
+/**
+ * Plugin activator
+ *
+ * @noreference This class should not be accessed outside of this plugin.
+ */
+public class Activator extends ScopeCoreActivator {
+
+    /**
+     * Return the singleton instance of this activator.
+     *
+     * @return The singleton instance
+     */
+    public static Activator instance() {
+        return ScopeCoreActivator.getInstance(Activator.class);
+    }
+
+    @Override
+    protected void startActions() {
+    }
+
+    @Override
+    protected void stopActions() {
+        ViewGroupContext.cleanup();
+    }
+
+}
\ No newline at end of file
This page took 0.02422 seconds and 5 git commands to generate.