Commit | Line | Data |
---|---|---|
c879c4db AM |
1 | /* |
2 | * Copyright (C) 2017 EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com> | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | */ | |
9 | ||
10 | package org.lttng.scope.tmf2.views.core.activator.internal; | |
11 | ||
4290d358 | 12 | import org.lttng.scope.tmf2.views.core.ScopeCoreActivator; |
c879c4db AM |
13 | import org.lttng.scope.tmf2.views.core.context.ViewGroupContext; |
14 | ||
15 | /** | |
16 | * Plugin activator | |
17 | * | |
18 | * @noreference This class should not be accessed outside of this plugin. | |
19 | */ | |
20 | public class Activator extends ScopeCoreActivator { | |
21 | ||
22 | /** | |
23 | * Return the singleton instance of this activator. | |
24 | * | |
25 | * @return The singleton instance | |
26 | */ | |
27 | public static Activator instance() { | |
28 | return ScopeCoreActivator.getInstance(Activator.class); | |
29 | } | |
30 | ||
31 | @Override | |
32 | protected void startActions() { | |
33 | } | |
34 | ||
35 | @Override | |
36 | protected void stopActions() { | |
37 | ViewGroupContext.cleanup(); | |
38 | } | |
39 | ||
40 | } |