summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.asciidoc6
-rw-r--r--de.dhbw.horb.ksm.model/build.properties1
-rw-r--r--de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF5
-rw-r--r--de.dhbw.horb.ksm.qksm/build.properties2
-rw-r--r--de.dhbw.horb.ksm.qksm/fragment.xml (renamed from de.dhbw.horb.ksm.qksm/plugin.xml)1
-rw-r--r--de.dhbw.horb.ksm.tableeditor/META-INF/MANIFEST.MF16
-rw-r--r--de.dhbw.horb.ksm.tableeditor/build.properties3
-rw-r--r--de.dhbw.horb.ksm.tableeditor/plugin.xml (renamed from de.dhbw.horb.ksm.tableeditor/fragment.xml)6
-rw-r--r--de.dhbw.horb.ksm.tableeditor/src/de/dhbw/horb/tableeditor/Activator.java50
-rw-r--r--ksm-model/xml/example-1.xml4
10 files changed, 78 insertions, 16 deletions
diff --git a/README.asciidoc b/README.asciidoc
new file mode 100644
index 0000000..bdbfc68
--- /dev/null
+++ b/README.asciidoc
@@ -0,0 +1,6 @@
+Dokumentation
+=============
+
+- 2010/2011 https://github.com/dhbw-horb/studienarbeit-2011-fischer-eclipse-ksm[Fischer]
+- Du?
+
diff --git a/de.dhbw.horb.ksm.model/build.properties b/de.dhbw.horb.ksm.model/build.properties
index 0d1ebd0..324a481 100644
--- a/de.dhbw.horb.ksm.model/build.properties
+++ b/de.dhbw.horb.ksm.model/build.properties
@@ -1,4 +1,3 @@
-source.. = .
output.. = .
bin.includes = META-INF/,\
de/
diff --git a/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF b/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF
index 353b055..f0bd244 100644
--- a/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF
+++ b/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF
@@ -3,9 +3,8 @@ Bundle-ManifestVersion: 2
Bundle-Name: Qksm
Bundle-SymbolicName: de.dhbw.horb.ksm.qksm;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: de.dhbw.horb.ksm.qksm.Activator
+Fragment-Host: de.dhbw.horb.ksm.core
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- de.dhbw.horb.ksm.core;bundle-version="1.0.0"
+ org.eclipse.core.runtime
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/de.dhbw.horb.ksm.qksm/build.properties b/de.dhbw.horb.ksm.qksm/build.properties
index e9863e2..e3023e1 100644
--- a/de.dhbw.horb.ksm.qksm/build.properties
+++ b/de.dhbw.horb.ksm.qksm/build.properties
@@ -2,4 +2,4 @@ source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.xml
+ fragment.xml
diff --git a/de.dhbw.horb.ksm.qksm/plugin.xml b/de.dhbw.horb.ksm.qksm/fragment.xml
index 14f01db..5bd3144 100644
--- a/de.dhbw.horb.ksm.qksm/plugin.xml
+++ b/de.dhbw.horb.ksm.qksm/fragment.xml
@@ -9,5 +9,4 @@
type="node">
</advisor>
</extension>
-
</plugin>
diff --git a/de.dhbw.horb.ksm.tableeditor/META-INF/MANIFEST.MF b/de.dhbw.horb.ksm.tableeditor/META-INF/MANIFEST.MF
index eda24a5..2ebefa0 100644
--- a/de.dhbw.horb.ksm.tableeditor/META-INF/MANIFEST.MF
+++ b/de.dhbw.horb.ksm.tableeditor/META-INF/MANIFEST.MF
@@ -3,7 +3,17 @@ Bundle-ManifestVersion: 2
Bundle-Name: KSM TableEditor
Bundle-SymbolicName: de.dhbw.horb.ksm.tableeditor;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Fragment-Host: de.dhbw.horb.ksm.core;bundle-version="1.0.0.qualifier"
+Bundle-Activator: de.dhbw.horb.tableeditor.Activator
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui,
+ org.eclipse.ui.navigator,
+ org.eclipse.ui.navigator.resources,
+ org.eclipse.ui.ide;bundle-version="3.6.1",
+ org.eclipse.ui.views;bundle-version="3.5.0",
+ org.eclipse.draw2d;bundle-version="3.6.1",
+ org.eclipse.gef;bundle-version="3.6.1",
+ de.dhbw.horb.ksm.model;bundle-version="1.0.0",
+ de.dhbw.horb.ksm.core;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Bundle-ClassPath: .
-Require-Bundle: org.eclipse.core.boot;bundle-version="3.1.200"
+Bundle-ActivationPolicy: lazy
diff --git a/de.dhbw.horb.ksm.tableeditor/build.properties b/de.dhbw.horb.ksm.tableeditor/build.properties
index a396e88..e9863e2 100644
--- a/de.dhbw.horb.ksm.tableeditor/build.properties
+++ b/de.dhbw.horb.ksm.tableeditor/build.properties
@@ -2,5 +2,4 @@ source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
- fragment.xml
-source.. = src/
+ plugin.xml
diff --git a/de.dhbw.horb.ksm.tableeditor/fragment.xml b/de.dhbw.horb.ksm.tableeditor/plugin.xml
index 867b95b..c5778a6 100644
--- a/de.dhbw.horb.ksm.tableeditor/fragment.xml
+++ b/de.dhbw.horb.ksm.tableeditor/plugin.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
-<fragment>
- <extension
+<plugin>
+ <extension
point="org.eclipse.ui.views">
<view
category="ksm.core.views.KSMCategory"
@@ -25,4 +25,4 @@
</description>
</perspective>
</extension>
-</fragment>
+</plugin>
diff --git a/de.dhbw.horb.ksm.tableeditor/src/de/dhbw/horb/tableeditor/Activator.java b/de.dhbw.horb.ksm.tableeditor/src/de/dhbw/horb/tableeditor/Activator.java
new file mode 100644
index 0000000..dcc28d5
--- /dev/null
+++ b/de.dhbw.horb.ksm.tableeditor/src/de/dhbw/horb/tableeditor/Activator.java
@@ -0,0 +1,50 @@
+package de.dhbw.horb.tableeditor;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "tableeditor"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
diff --git a/ksm-model/xml/example-1.xml b/ksm-model/xml/example-1.xml
index d96d87a..f9df756 100644
--- a/ksm-model/xml/example-1.xml
+++ b/ksm-model/xml/example-1.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<ksm xmlns="http://hb.dhbw-stuttgart.de/~ksm/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://hb.dhbw-stuttgart.de/~ksm/1.0 ksm-1.0.xsd"
+<ksm xmlns="http://www.ba-horb.de/~ksm/xml/ksm-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.ba-horb.de/~ksm/xml/ksm-1 ksm-1.xsd"
version="1.0">
<nodegroup id="root">
<node id="56-7567-567567-657657-567">