Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.classpath7
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.project28
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/META-INF/MANIFEST.MF13
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/build.properties7
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/configs/generic.nattableconfiguration17
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.gifbin0 -> 891 bytes
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.pngbin0 -> 1245 bytes
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/plugin.xml11
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/src/org/eclipse/papyrus/uml/nattable/generic/config/Activator.java50
10 files changed, 140 insertions, 0 deletions
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.classpath b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.classpath
new file mode 100644
index 00000000000..8a8f1668cdc
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.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/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.project b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.project
new file mode 100644
index 00000000000..923ca2e8835
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.uml.nattable.generic.config</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/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.settings/org.eclipse.jdt.core.prefs b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..f287d53cf45
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+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/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/META-INF/MANIFEST.MF b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..2323002af6c
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: UML Generic Table Config (Incubation)
+Bundle-SymbolicName: org.eclipse.papyrus.uml.nattable.generic.config;singleton:=true
+Bundle-Version: 0.10.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.uml.nattable.generic.config.Activator
+Bundle-Vendor: Eclipse Modeling Project
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.infra.nattable,
+ org.eclipse.uml2.uml;bundle-version="4.1.0"
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-ActivationPolicy: lazy
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/build.properties b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/build.properties
new file mode 100644
index 00000000000..8eeb255cfc1
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/build.properties
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ icons/,\
+ configs/
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/configs/generic.nattableconfiguration b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/configs/generic.nattableconfiguration
new file mode 100644
index 00000000000..f225f64106c
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/configs/generic.nattableconfiguration
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" name="GenericTable" type="PapyruGenericNattable" iconPath="platform:/plugin/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.gif">
+ <rowAxisProvider xsi:type="nattableaxisprovider:DefaultAxisProvider">
+ <javaAxisManagerIds>org.eclipse.papyrus.uml.nattable.element.axis.manager</javaAxisManagerIds>
+ <axisConfiguration xsi:type="nattableaxisconfiguration:DefaultAxisConfiguration">
+ <labelConfiguration xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider"/>
+ </axisConfiguration>
+ </rowAxisProvider>
+ <columnAxisProvider xsi:type="nattableaxisprovider:DefaultAxisProvider">
+ <javaAxisManagerIds>org.eclipse.papyrus.uml.nattable.feature.axis.manager</javaAxisManagerIds>
+ <javaAxisManagerIds>org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager</javaAxisManagerIds>
+ <axisConfiguration xsi:type="nattableaxisconfiguration:DefaultAxisConfiguration" indexStyle="ALPHABETIC">
+ <labelConfiguration xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider"/>
+ </axisConfiguration>
+ </columnAxisProvider>
+ <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.uml.nattable.common.tester.isumlelement"/>
+</nattableconfiguration:TableConfiguration>
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.gif b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.gif
new file mode 100644
index 00000000000..7dba0a044de
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.gif
Binary files differ
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.png b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.png
new file mode 100644
index 00000000000..4bec73c4147
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/icons/uml_generic_table.png
Binary files differ
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/plugin.xml b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/plugin.xml
new file mode 100644
index 00000000000..075026e20b9
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/plugin.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.papyrus.infra.nattable.configuration">
+ <configuration
+ file="configs/generic.nattableconfiguration">
+ </configuration>
+ </extension>
+
+</plugin>
diff --git a/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/src/org/eclipse/papyrus/uml/nattable/generic/config/Activator.java b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/src/org/eclipse/papyrus/uml/nattable/generic/config/Activator.java
new file mode 100644
index 00000000000..320df5cac03
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.uml.nattable.generic.config/src/org/eclipse/papyrus/uml/nattable/generic/config/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.papyrus.uml.nattable.generic.config;
+
+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 = "org.eclipse.papyrus.uml.nattable.generic.config"; //$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;
+ }
+
+}

Back to the top