34 lines
764 B
Java
34 lines
764 B
Java
// Copyright (c) 2021, Fr.Terrot. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package io.gitea.mylyn.ui;
|
|
|
|
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
|
import org.osgi.framework.BundleContext;
|
|
|
|
public class GiteaUIPlugin extends AbstractUIPlugin {
|
|
|
|
private static GiteaUIPlugin plugin;
|
|
|
|
public GiteaUIPlugin() {
|
|
plugin = this;
|
|
}
|
|
|
|
@Override
|
|
public void start(BundleContext context) throws Exception {
|
|
super.start(context);
|
|
}
|
|
|
|
@Override
|
|
public void stop(BundleContext context) throws Exception {
|
|
plugin = null;
|
|
super.stop(context);
|
|
}
|
|
|
|
public static GiteaUIPlugin getDefault() {
|
|
return plugin;
|
|
}
|
|
|
|
}
|