public static final String PLUGIN_ID = "org.simantics.maps.server";
private static BundleContext context;
+ private static Activator defaultt;
static BundleContext getContext() {
return context;
*/
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
+ Activator.defaultt = this;
}
/*
*/
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
+ Activator.defaultt = null;
}
public static Path getNodeJSRoot() throws IOException, URISyntaxException {
return Paths.get(encodedUri);
}
+ public static Activator getDefault() {
+ return defaultt;
+ }
+
}