diff options
author | cletavernie | 2012-03-22 10:42:34 +0000 |
---|---|---|
committer | cletavernie | 2012-03-22 10:42:34 +0000 |
commit | 1f52225086ecc18c65dffb499ba6462c23a0df0d (patch) | |
tree | a787177e663da55595003ea42f3958f67869a8de /deprecated | |
parent | 5fbd51e2a608cede2ae7949ce75c66054e012917 (diff) | |
download | org.eclipse.papyrus-1f52225086ecc18c65dffb499ba6462c23a0df0d.tar.gz org.eclipse.papyrus-1f52225086ecc18c65dffb499ba6462c23a0df0d.tar.xz org.eclipse.papyrus-1f52225086ecc18c65dffb499ba6462c23a0df0d.zip |
Remove deprecated plug-in
Diffstat (limited to 'deprecated')
11 files changed, 160 insertions, 0 deletions
diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/.classpath b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/.classpath new file mode 100644 index 00000000000..e5fbd3dd27a --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/.classpath @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="src-gen"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/.project b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/.project new file mode 100644 index 00000000000..3455ab4c576 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.uml.textedit.message.xtext.generator</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.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/META-INF/MANIFEST.MF b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..a25a7a551c2 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0
+Require-Bundle: org.eclipse.papyrus.uml.textedit.message.xtext;bundle-version="0.9.0";visibility:=reexport,
+ org.eclipse.xpand;visibility:=reexport,
+ org.eclipse.xtend;visibility:=reexport,
+ org.eclipse.xtext;visibility:=reexport,
+ org.eclipse.emf.mwe2.launch;resolution:=optional,
+ org.eclipse.emf.mwe.utils;visibility:=reexport,
+ org.eclipse.xtend.typesystem.emf;visibility:=reexport
+Bundle-Vendor: %providerName
+Bundle-ActivationPolicy: lazy
+Bundle-Version: 0.9.0.qualifier
+Bundle-Name: %pluginName
+Bundle-Localization: plugin
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.eclipse.papyrus.uml.textedit.message.xtext.generator;singleton:=true
+Import-Package: org.apache.log4j
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+
diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/about.html b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/about.html new file mode 100644 index 00000000000..82d49bf5f81 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/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 ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/build.properties b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/build.properties new file mode 100644 index 00000000000..2afc3fe05ad --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/build.properties @@ -0,0 +1,6 @@ +#
+#Mon Sep 12 09:29:54 CEST 2011
+bin.includes=META-INF/,.,plugin.xml,plugin.properties,about.html
+src.includes=about.html,META-INF/,.,plugin.xml,plugin.properties
+source..=src/,src-gen/
+bin..=bin/
diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/plugin.properties b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/plugin.properties new file mode 100644 index 00000000000..f786c04e896 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/plugin.properties @@ -0,0 +1,12 @@ +#################################################################################
+# Copyright (c) 2010 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:
+# Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - initial API and implementation
+##################################################################################
+pluginName=Papyrus Message xtext generator direct editor (Incubation)
+providerName=Eclipse Modeling Project
diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/.settings/org.eclipse.xtend.shared.ui.prefs b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/.settings/org.eclipse.xtend.shared.ui.prefs new file mode 100644 index 00000000000..f42d942460d --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/.settings/org.eclipse.xtend.shared.ui.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +metamodelContributor=org.eclipse.xtend.shared.ui.core.metamodel.jdt.javabean.JavaBeanMetamodelContributor +project.specific.metamodel=true diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/model/Example.mymessage b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/model/Example.mymessage new file mode 100644 index 00000000000..39ffa8f3a68 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/model/Example.mymessage @@ -0,0 +1,6 @@ +/* + * This is an example model + */ +Hello world! +Hello Xtext! +Hello Eclipse! diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/templates/Extensions.ext b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/templates/Extensions.ext new file mode 100644 index 00000000000..b8586b32153 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/templates/Extensions.ext @@ -0,0 +1,4 @@ +import org::eclipse::papyrus::message::editor::xtext::umlMessage; + +sortedGreetings(Model this) : + this.greetings.sortBy(g|g.name.toLowerCase()); diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/templates/Template.xpt b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/templates/Template.xpt new file mode 100644 index 00000000000..6d865b75fa1 --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/templates/Template.xpt @@ -0,0 +1,14 @@ +«IMPORT org::eclipse::papyrus::message::editor::xtext::umlMessage» + +«EXTENSION templates::Extensions» + +«DEFINE main FOR Greeting-» +«FILE name+".txt"-» +This is an example of a generated file. + +The input element was "Hello «name»!" + +All greetings in the same file: +«FOREACH ((Model)eContainer()).sortedGreetings() AS g SEPARATOR ', '»«g.name»«ENDFOREACH» +«ENDFILE-» +«ENDDEFINE» diff --git a/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/workflow/UmlMessageGenerator.mwe2 b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/workflow/UmlMessageGenerator.mwe2 new file mode 100644 index 00000000000..6c29774b84a --- /dev/null +++ b/deprecated/org.eclipse.papyrus.uml.textedit.message.xtext.generator/src/workflow/UmlMessageGenerator.mwe2 @@ -0,0 +1,33 @@ +module workflow.UmlMessageGenerator + +import org.eclipse.emf.mwe.utils.* + +var targetDir = "src-gen" +var fileEncoding = "Cp1252" +var modelPath = "src/model" + +Workflow { + + component = org.eclipse.xtext.mwe.Reader { + // lookup all resources on the classpath + // useJavaClassPath = true + + // or define search scope explicitly + path = modelPath + + // this class will be generated by the xtext generator + register = org.eclipse.papyrus.uml.textedit.message.xtext.UmlMessageStandaloneSetup {} + load = { + slot = "greetings" + type = "Greeting" + } + } + + component = org.eclipse.xpand2.Generator { + expand = "templates::Template::main FOREACH greetings" + outlet = { + path = targetDir + } + fileEncoding = fileEncoding + } +} |