X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tmf%2Forg.lttng.scope.tmf2.views.core%2Fsrc%2Forg%2Flttng%2Fscope%2Ftmf2%2Fviews%2Fcore%2Factivator%2Finternal%2FActivator.java;fp=tmf%2Forg.lttng.scope.tmf2.views.core%2Fsrc%2Forg%2Flttng%2Fscope%2Ftmf2%2Fviews%2Fcore%2Factivator%2Finternal%2FActivator.java;h=c65947995f2c366eac51f05bfc48a1643544ca6b;hb=735b1ca2b2e149bb22d85df231af4239b5e5522d;hp=0000000000000000000000000000000000000000;hpb=0b55ad30f1f5ee8ca3fd0ce5ff4c40022dff8661;p=deliverable%2Ftracecompass.git 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 index 0000000000..c65947995f --- /dev/null +++ b/tmf/org.lttng.scope.tmf2.views.core/src/org/lttng/scope/tmf2/views/core/activator/internal/Activator.java @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2017 EfficiOS Inc., Alexandre Montplaisir + * + * 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