From 83ec6cd048be645225c08265eb86b35e811dd1c9 Mon Sep 17 00:00:00 2001 From: yvesf Date: Fri, 13 May 2011 19:06:56 +0200 Subject: Ende Fischer '11 --- README.asciidoc | 6 +++ de.dhbw.horb.ksm.model/build.properties | 1 - de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF | 5 +-- de.dhbw.horb.ksm.qksm/build.properties | 2 +- de.dhbw.horb.ksm.qksm/fragment.xml | 12 ++++++ de.dhbw.horb.ksm.qksm/plugin.xml | 13 ------ de.dhbw.horb.ksm.tableeditor/META-INF/MANIFEST.MF | 16 +++++-- de.dhbw.horb.ksm.tableeditor/build.properties | 3 +- de.dhbw.horb.ksm.tableeditor/fragment.xml | 28 ------------ de.dhbw.horb.ksm.tableeditor/plugin.xml | 28 ++++++++++++ .../src/de/dhbw/horb/tableeditor/Activator.java | 50 ++++++++++++++++++++++ ksm-model/xml/example-1.xml | 4 +- 12 files changed, 115 insertions(+), 53 deletions(-) create mode 100644 README.asciidoc create mode 100644 de.dhbw.horb.ksm.qksm/fragment.xml delete mode 100644 de.dhbw.horb.ksm.qksm/plugin.xml delete mode 100644 de.dhbw.horb.ksm.tableeditor/fragment.xml create mode 100644 de.dhbw.horb.ksm.tableeditor/plugin.xml create mode 100644 de.dhbw.horb.ksm.tableeditor/src/de/dhbw/horb/tableeditor/Activator.java 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/fragment.xml b/de.dhbw.horb.ksm.qksm/fragment.xml new file mode 100644 index 0000000..5bd3144 --- /dev/null +++ b/de.dhbw.horb.ksm.qksm/fragment.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/de.dhbw.horb.ksm.qksm/plugin.xml b/de.dhbw.horb.ksm.qksm/plugin.xml deleted file mode 100644 index 14f01db..0000000 --- a/de.dhbw.horb.ksm.qksm/plugin.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - 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/fragment.xml deleted file mode 100644 index 867b95b..0000000 --- a/de.dhbw.horb.ksm.tableeditor/fragment.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - Table Editor Perspective - - - - diff --git a/de.dhbw.horb.ksm.tableeditor/plugin.xml b/de.dhbw.horb.ksm.tableeditor/plugin.xml new file mode 100644 index 0000000..c5778a6 --- /dev/null +++ b/de.dhbw.horb.ksm.tableeditor/plugin.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + Table Editor Perspective + + + + 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 @@ - -- cgit v1.2.1