Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/layers/org.eclipse.papyrus.layers.dev.ui')
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.classpath7
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.project28
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/META-INF/MANIFEST.MF11
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/about.html28
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/build.properties5
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.properties12
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.xml48
-rw-r--r--extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/src/org/eclipse/papyrus/layers/dev/ui/Activator.java30
9 files changed, 176 insertions, 0 deletions
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.classpath b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.classpath
new file mode 100644
index 00000000000..ad32c83a788
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.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/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.project b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.project
new file mode 100644
index 00000000000..6ea6b87750f
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.layers.dev.ui</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/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.settings/org.eclipse.jdt.core.prefs b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..c537b63063c
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/.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/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/META-INF/MANIFEST.MF b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..743ddc41bf3
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.papyrus.layers.dev.ui;singleton:=true
+Bundle-Version: 0.10.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.layers.dev.ui.Activator
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.ui
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-ActivationPolicy: lazy
+Bundle-Vendor: %providerName
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/about.html b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/about.html
new file mode 100644
index 00000000000..d35d5aed64c
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/build.properties b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/build.properties
new file mode 100644
index 00000000000..e9863e281ea
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/build.properties
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.properties b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.properties
new file mode 100644
index 00000000000..1ba9a8575ad
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.properties
@@ -0,0 +1,12 @@
+#################################################################################
+# Copyright (c) 2013 CEA LIST.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
+##################################################################################
+pluginName=Layers UI for Dev (Incubation)
+providerName=Eclipse Modeling Project
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.xml b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.xml
new file mode 100644
index 00000000000..f90e51be5b9
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/plugin.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.papyrus.layers.stackmodel.ui.popupmenu?after=endseparator">
+ <separator
+ name="devseparator"
+ visible="true">
+ </separator>
+ <menu
+ label="Oldies">
+ <command
+ commandId="org.eclipse.papyrus.layers.ui.commands.attachLayerStack"
+ label="Attach Layer Stack"
+ style="push"
+ tooltip="Attach a Layer Stack to the diagram">
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.layers.ui.commands.createtoplayeroperator"
+ label="Create Top Layer Operator"
+ style="push"
+ tooltip="Create a top Layer operator">
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.layers.ui.commands.createstackedLayerOperator"
+ label="Create Stacked Layer Operator"
+ style="push"
+ tooltip="Create a Stacked Layer operator">
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.layers.ui.commands.attachPropertyToLayer"
+ label="Attach a Property to a Layer"
+ style="push"
+ tooltip="Attach a Property to a Layer">
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.layers.ui.commands.createLayerOperator"
+ label="Create Layer Operators No Param"
+ style="push">
+ </command>
+ </menu>
+ </menuContribution>
+ </extension>
+
+</plugin>
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/src/org/eclipse/papyrus/layers/dev/ui/Activator.java b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/src/org/eclipse/papyrus/layers/dev/ui/Activator.java
new file mode 100644
index 00000000000..6ab3d924563
--- /dev/null
+++ b/extraplugins/layers/org.eclipse.papyrus.layers.dev.ui/src/org/eclipse/papyrus/layers/dev/ui/Activator.java
@@ -0,0 +1,30 @@
+package org.eclipse.papyrus.layers.dev.ui;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ }
+
+}

Back to the top