Skip to content

Commit 44c76ee

Browse files
Base version of the tool
1 parent 42dd5be commit 44c76ee

13 files changed

+834
-0
lines changed

.classpath

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry exported="true" kind="lib" path="bugdoctor.lib/"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
5+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6+
<classpathentry kind="src" path="src"/>
7+
<classpathentry kind="output" path="bin"/>
8+
</classpath>

.project

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>ca.usask.cs.srlab.bugdoctor</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.eclipse.pde.PluginNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
33+
</natures>
34+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4+
org.eclipse.jdt.core.compiler.compliance=1.8
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.source=1.8

META-INF/MANIFEST.MF

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Bugdoctor
4+
Bundle-SymbolicName: ca.usask.cs.srlab.bugdoctor
5+
Bundle-Version: 1.0.0.qualifier
6+
Bundle-Activator: ca.usask.cs.srlab.bugdoctor.Activator
7+
Require-Bundle: org.eclipse.ui,
8+
org.eclipse.core.runtime,
9+
org.eclipse.ui.workbench.source;bundle-version="3.105.2",
10+
org.eclipse.core.filesystem;bundle-version="1.4.0",
11+
org.eclipse.ui.ide;bundle-version="3.9.2",
12+
org.eclipse.text;bundle-version="3.5.300",
13+
org.eclipse.ui.editors;bundle-version="3.8.100",
14+
org.eclipse.jface.text;bundle-version="3.8.101"
15+
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
16+
Bundle-ActivationPolicy: lazy
17+
Bundle-ClassPath: .,
18+
bugdoctor.lib/
914 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
2.38 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

build.properties

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.,\
5+
bugdoctor.lib/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
package ca.usask.cs.srlab.bugdoctor;
2+
3+
import org.eclipse.ui.plugin.AbstractUIPlugin;
4+
import org.osgi.framework.BundleContext;
5+
6+
/**
7+
* The activator class controls the plug-in life cycle
8+
*/
9+
public class Activator extends AbstractUIPlugin {
10+
11+
// The plug-in ID
12+
public static final String PLUGIN_ID = "ca.usask.cs.srlab.bugdoctor"; //$NON-NLS-1$
13+
14+
// The shared instance
15+
private static Activator plugin;
16+
17+
/**
18+
* The constructor
19+
*/
20+
public Activator() {
21+
}
22+
23+
/*
24+
* (non-Javadoc)
25+
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
26+
*/
27+
public void start(BundleContext context) throws Exception {
28+
super.start(context);
29+
plugin = this;
30+
}
31+
32+
/*
33+
* (non-Javadoc)
34+
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
35+
*/
36+
public void stop(BundleContext context) throws Exception {
37+
plugin = null;
38+
super.stop(context);
39+
}
40+
41+
/**
42+
* Returns the shared instance
43+
*
44+
* @return the shared instance
45+
*/
46+
public static Activator getDefault() {
47+
return plugin;
48+
}
49+
50+
}

0 commit comments

Comments
 (0)