]> gerrit.simantics Code Review - simantics/district.git/blob - ui/internal/Activator.java
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / ui / internal / Activator.java
1 package org.simantics.district.network.ui.internal;
2
3 import org.osgi.framework.BundleActivator;
4 import org.osgi.framework.BundleContext;
5
6 public class Activator implements BundleActivator {
7
8     public static final String PLUGIN_ID = "org.simantics.district.network.ui";
9     private static BundleContext context;
10
11     @Override
12     public void start(BundleContext context) throws Exception {
13         Activator.context = context;
14     }
15
16     @Override
17     public void stop(BundleContext context) throws Exception {
18         Activator.context = null;
19     }
20     
21     public static BundleContext getContext() {
22         return context;
23     }
24
25 }