Skip to content

Commit ea2decd

Browse files
committed
Initial commit containig the plugin and feature
1 parent b54ccdc commit ea2decd

10 files changed

Lines changed: 154 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>com.genericworkflownodes.knime.workflowexporter.feature</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.pde.FeatureBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.pde.FeatureNature</nature>
16+
</natures>
17+
</projectDescription>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin.includes = feature.xml
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<feature
3+
id="com.genericworkflownodes.knime.workflowexporter.feature"
4+
label="WorkflowExporter"
5+
version="0.1.0.qualifier"
6+
provider-name="The GenericWorkflowNodes Project">
7+
8+
<description url="http://www.example.com/description">
9+
[Enter Feature Description here.]
10+
</description>
11+
12+
<copyright url="http://www.example.com/copyright">
13+
[Enter Copyright Description here.]
14+
</copyright>
15+
16+
<license url="http://www.example.com/license">
17+
[Enter License Description here.]
18+
</license>
19+
20+
<plugin
21+
id="com.genericworkflownodes.knime.workflowexporter"
22+
download-size="0"
23+
install-size="0"
24+
version="0.0.0"
25+
unpack="false"/>
26+
27+
</feature>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5+
<classpathentry kind="src" path="src"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/bin
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>com.genericworkflownodes.knime.workflowexporter</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+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.pde.PluginNature</nature>
26+
<nature>org.eclipse.jdt.core.javanature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 7 additions & 0 deletions
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.6
4+
org.eclipse.jdt.core.compiler.compliance=1.6
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.6
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: WorkflowExporter
4+
Bundle-SymbolicName: com.genericworkflownodes.knime.workflowexporter
5+
Bundle-Version: 0.1.0.qualifier
6+
Bundle-Activator: com.genericworkflownodes.knime.workflowexporter.Activator
7+
Bundle-Vendor: The GenericWorkflowNodes Project
8+
Require-Bundle: org.eclipse.ui,
9+
org.eclipse.core.runtime,
10+
com.genericworkflownodes.knime;bundle-version="0.7.0"
11+
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
12+
Bundle-ActivationPolicy: lazy
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
package com.genericworkflownodes.knime.workflowexporter;
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 = "com.genericworkflownodes.knime.workflowexporter"; //$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)