summaryrefslogtreecommitdiff
path: root/de.dhbw.horb.ksm.qksm
diff options
context:
space:
mode:
Diffstat (limited to 'de.dhbw.horb.ksm.qksm')
-rw-r--r--de.dhbw.horb.ksm.qksm/.classpath7
-rw-r--r--de.dhbw.horb.ksm.qksm/.gitignore1
-rw-r--r--de.dhbw.horb.ksm.qksm/.project28
-rw-r--r--de.dhbw.horb.ksm.qksm/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF11
-rw-r--r--de.dhbw.horb.ksm.qksm/build.properties5
-rw-r--r--de.dhbw.horb.ksm.qksm/plugin.xml13
-rw-r--r--de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/Activator.java50
-rw-r--r--de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/QKSMNodePropertyDescriptorAdvisor.java12
9 files changed, 135 insertions, 0 deletions
diff --git a/de.dhbw.horb.ksm.qksm/.classpath b/de.dhbw.horb.ksm.qksm/.classpath
new file mode 100644
index 0000000..ad32c83
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/de.dhbw.horb.ksm.qksm/.gitignore b/de.dhbw.horb.ksm.qksm/.gitignore
new file mode 100644
index 0000000..e660fd9
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/.gitignore
@@ -0,0 +1 @@
+bin/
diff --git a/de.dhbw.horb.ksm.qksm/.project b/de.dhbw.horb.ksm.qksm/.project
new file mode 100644
index 0000000..2df984b
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>de.dhbw.horb.ksm.qksm</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/de.dhbw.horb.ksm.qksm/.settings/org.eclipse.jdt.core.prefs b/de.dhbw.horb.ksm.qksm/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..374f01e
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Fri Apr 29 22:08:31 CEST 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF b/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..353b055
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+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
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ de.dhbw.horb.ksm.core;bundle-version="1.0.0"
+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
new file mode 100644
index 0000000..e9863e2
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/build.properties
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
diff --git a/de.dhbw.horb.ksm.qksm/plugin.xml b/de.dhbw.horb.ksm.qksm/plugin.xml
new file mode 100644
index 0000000..14f01db
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/plugin.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="de.dhbw.horb.ksm.core.model.property">
+ <advisor
+ class="de.dhbw.horb.ksm.qksm.QKSMNodePropertyDescriptorAdvisor"
+ name="QKSMNodePropertyDescriptorAdvisor"
+ type="node">
+ </advisor>
+ </extension>
+
+</plugin>
diff --git a/de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/Activator.java b/de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/Activator.java
new file mode 100644
index 0000000..33fb4e7
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/Activator.java
@@ -0,0 +1,50 @@
+package de.dhbw.horb.ksm.qksm;
+
+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 = "de.dhbw.horb.ksm.qksm"; //$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/de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/QKSMNodePropertyDescriptorAdvisor.java b/de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/QKSMNodePropertyDescriptorAdvisor.java
new file mode 100644
index 0000000..26f4b5b
--- /dev/null
+++ b/de.dhbw.horb.ksm.qksm/src/de/dhbw/horb/ksm/qksm/QKSMNodePropertyDescriptorAdvisor.java
@@ -0,0 +1,12 @@
+package de.dhbw.horb.ksm.qksm;
+
+import de.dhbw.horb.ksm.core.extension.AbstractPropertyDescriptorAdvisor;
+
+public class QKSMNodePropertyDescriptorAdvisor extends
+ AbstractPropertyDescriptorAdvisor {
+
+ @Override
+ protected void init() {
+ addProperty("string:foobar", "foobar");
+ }
+}