Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGoulwen Le Fur2013-03-21 15:14:44 +0000
committerGoulwen Le Fur2013-03-21 15:14:44 +0000
commita799a67fbf3335cbf6875d701fbfe645e9852261 (patch)
tree784d5760605c5d718f8656ab662723149018c342 /tests
parent45c67f9c1bf0209569112d6895d1ab8bfe575f41 (diff)
downloadorg.eclipse.eef-a799a67fbf3335cbf6875d701fbfe645e9852261.tar.gz
org.eclipse.eef-a799a67fbf3335cbf6875d701fbfe645e9852261.tar.xz
org.eclipse.eef-a799a67fbf3335cbf6875d701fbfe645e9852261.zip
ADDED: First example of DDT
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.classpath7
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.intentbackup48
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.project49
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetAttributeTextTest.java2
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetIntegerAttributeTextTest.java2
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setAttributeText.modelingbot19
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setIntegerAttributeText.modelingbot19
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/STATUS/StatusIndex.repomodel2
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/TRACES/TraceabilityIndex.repomodel2
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/INTENT/IntentDocument.repomodel2
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.repository/IntentIndex.repomodel2
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/META-INF/MANIFEST.MF10
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/bonjour.textile3
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/build.properties1
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetAttributeTextTest.java9
-rw-r--r--tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetIntegerAttributeTextTest.java9
17 files changed, 193 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.classpath b/tests/org.eclipse.emf.eef.scenarios.idoc/.classpath
new file mode 100644
index 000000000..8a8f1668c
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.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/tests/org.eclipse.emf.eef.scenarios.idoc/.intentbackup b/tests/org.eclipse.emf.eef.scenarios.idoc/.intentbackup
new file mode 100644
index 000000000..53fa38215
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.intentbackup
@@ -0,0 +1,48 @@
+Document {
+ Chapter Introduction {
+ The *Extended Editing Framework* is a presentation framework for the Eclipse Modeling Framework. It allows user to create rich user interfaces to edit EMF models.
+
+ Editing models is an important task for the tools developed with EMF. EEF enables you to produce more usable user interface to edit EMF models via a generative process. EEF generates by default JFace wizards and properties views to edit your models but you can use the generated interfaces in any kind of your UI parts.
+ EEF is a good EMF world citizen, all customizations done on the EMF layer are integrated in the EEF interfaces. Frameworks like EMF Validation, EMF Transaction, ... natively work with EEF.
+ }
+ Chapter Features {
+ EEF comes with three components:
+ - A runtime providing a standard MVC architecture specially designed to create EMF editing forms.
+ - A code generator able to produce Views and Wizard dedicated to your very specific models
+ - A UI modeling environment helping you to design your views.
+
+ Section EEF Runtime {
+ Section Architecture { }
+
+ Section EEF toolkits {
+ Section Standard "SWT" Toolkit {
+ The SWT is composed of 7 widgets:
+ - Text
+ - TextArea
+ - Checkbox
+ - Radio
+ - Combo
+ - Group
+ - Hbox
+ The text widget enables users to edit _EAttributes_ by entering a String value. The standard use case is to edit an EAttribute haved a EString. For instance, in this scenario, an user is able do defines the firstname of conference participant using a text widget:
+ @M
+ @ref "intent:/org.eclipse.emf.eef.scenarios.idoc/setAttributeText.modelingbot"
+
+ @ref "org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetAttributeTextTest.java"
+
+ M@
+
+ An interisting fact is that EEF invoke the EMF method _createFromString_ on the entered value. So with a text widget you can edit any kind of _EAttribute_ if theirs type can be created from a String. In this second scenario, a text widget is used to edit the age of a participant:
+ @M
+ @ref "intent:/org.eclipse.emf.eef.scenarios.idoc/setIntegerAttributeText.modelingbot"
+
+ @ref "org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetIntegerAttributeTextTest.java"
+
+ M@
+ }
+
+ Section EMF-dedicated "EMFProperties" Toolkit { }
+ }
+ }
+ }
+}
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.project b/tests/org.eclipse.emf.eef.scenarios.idoc/.project
new file mode 100644
index 000000000..9f658c62c
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.project
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.emf.eef.scenarios.idoc</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.mylyn.docs.intent.client.ui.ide.intentBuilder</name>
+ <arguments>
+ <dictionary>
+ <key>type</key>
+ <value>org.eclipse.mylyn.docs.intent.collab.ide.repository</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.mylyn.docs.intent.client.ui.ide.intentNature</nature>
+ <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetAttributeTextTest.java b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetAttributeTextTest.java
new file mode 100644
index 000000000..52365cbf8
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetAttributeTextTest.java
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="ASCII"?>
+<java:Classifier xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:java="http://www.eclipse.org/intent/bridges/java/0.8" name="org.eclipse.emf.eef.scenarios.idoc.scenarios.SetAttributeTextTest" extends="org.eclipse.emf.eef.modelingBot.testcase.AbstractComposedModelingBotTestCase"><javadoc content="/**&#xA;* Tests the 'setAttributeText' Scenario.&#xA;*/"/><methods name="testModelingBot()" simpleName="testModelingBot" returnType="void" content="bot.runModelingBot(&quot;intent:/org.eclipse.emf.eef.scenarios.idoc/setAttributeText.modelingbot&quot;);"><exceptions>Exception</exceptions></methods></java:Classifier>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetIntegerAttributeTextTest.java b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetIntegerAttributeTextTest.java
new file mode 100644
index 000000000..553cac1a6
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/SetIntegerAttributeTextTest.java
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="ASCII"?>
+<java:Classifier xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:java="http://www.eclipse.org/intent/bridges/java/0.8" name="org.eclipse.emf.eef.scenarios.idoc.scenarios.SetIntegerAttributeTextTest" extends="org.eclipse.emf.eef.modelingBot.testcase.AbstractComposedModelingBotTestCase"><javadoc content="/**&#xA;* Tests the 'setIntegerAttributeText' Scenario.&#xA;*/"/><methods name="testModelingBot()" simpleName="testModelingBot" returnType="void" content="bot.runModelingBot(&quot;intent:/org.eclipse.emf.eef.scenarios.idoc/setIntegerAttributeText.modelingbot&quot;);"><exceptions>Exception</exceptions></methods></java:Classifier>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setAttributeText.modelingbot b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setAttributeText.modelingbot
new file mode 100644
index 000000000..3141f216a
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setAttributeText.modelingbot
@@ -0,0 +1,19 @@
+scenario setAttributeText {
+ createProject "setAttributeText"
+ createObject testModel : "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Conference"
+ inResource "setAttributeText.conference"
+ at "setAttributeText"
+ check!
+ detailsPage {
+ createObject personTest : "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Person"
+ inElement testModel
+ inFeature "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Conference/participants"
+ set personTest
+ values "John"
+ inFeature "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Person/firstname"
+ usingWidget "platform:/plugin/org.eclipse.emf.examples.eef.edit/models/conference.components#_KvJBKJkmEd6sxtwdpecy3w"
+ }
+ save
+ check!
+ deleteProject "setAttributeText"
+} \ No newline at end of file
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setIntegerAttributeText.modelingbot b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setIntegerAttributeText.modelingbot
new file mode 100644
index 000000000..5c79fe702
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/GENERATED/setIntegerAttributeText.modelingbot
@@ -0,0 +1,19 @@
+scenario setIntegerAttributeText {
+ createProject "setIntegerAttributeText"
+ createObject testModel : "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Conference"
+ inResource "setIntegerAttributeText.conference"
+ at "setIntegerAttributeText"
+ check!
+ detailsPage {
+ createObject personTest : "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Person"
+ inElement testModel
+ inFeature "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Conference/participants"
+ set personTest
+ values "30"
+ inFeature "platform:/plugin/org.eclipse.emf.examples.eef/model/conference.ecore#//Person/age"
+ usingWidget "platform:/plugin/org.eclipse.emf.examples.eef.edit/models/conference.components#_KvJBKpkmEd6sxtwdpecy3w"
+ }
+ save
+ check!
+ deleteProject "setIntegerAttributeText"
+} \ No newline at end of file
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/STATUS/StatusIndex.repomodel b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/STATUS/StatusIndex.repomodel
new file mode 100644
index 000000000..6df51299c
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/STATUS/StatusIndex.repomodel
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="ASCII"?>
+<intentCompilerInfos:CompilationStatusManager xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:intentCompilerInfos="http://www.eclipse.org/intent/compilerinfos/0.7" xmi:id="_5YWdAYv6EeKmRc-sP7vKPw" validationTime="1363878821155"/>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/TRACES/TraceabilityIndex.repomodel b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/TRACES/TraceabilityIndex.repomodel
new file mode 100644
index 000000000..5dc5a1458
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/COMPILATION/TRACES/TraceabilityIndex.repomodel
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="ASCII"?>
+<intentCompilerInfos:TraceabilityIndex xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:intentCompilerInfos="http://www.eclipse.org/intent/compilerinfos/0.7" xmi:id="_5YXEEIv6EeKmRc-sP7vKPw"><entries xmi:id="_6gafsJI5EeKQe5sDYoOPBA" generatedResourcePath="/COMPILATION/GENERATED/SetIntegerAttributeTextTest.java" compilationTime="1363878821158"><resourceDeclaration href="../../INTENT/IntentDocument.repomodel#_50P9RZI5EeKQe5sDYoOPBA"/><containedElementToInstructions xmi:id="_6gafsZI5EeKQe5sDYoOPBA"><key href="../GENERATED/SetIntegerAttributeTextTest.java#/"/><value xmi:id="_6gafspI5EeKQe5sDYoOPBA"><instruction href="../../INTENT/IntentDocument.repomodel#_50P9RZI5EeKQe5sDYoOPBA"/></value></containedElementToInstructions></entries><entries xmi:id="_6gafs5I5EeKQe5sDYoOPBA" generatedResourcePath="/COMPILATION/GENERATED/setAttributeText.modelingbot" compilationTime="1363878821159"><resourceDeclaration href="../../INTENT/IntentDocument.repomodel#_50OvIJI5EeKQe5sDYoOPBA"/><containedElementToInstructions xmi:id="_6gaftJI5EeKQe5sDYoOPBA"><key href="../GENERATED/setAttributeText.modelingbot#/"/><value xmi:id="_6gaftZI5EeKQe5sDYoOPBA"><instruction href="../../INTENT/IntentDocument.repomodel#_50OvIJI5EeKQe5sDYoOPBA"/></value></containedElementToInstructions></entries><entries xmi:id="_6gaftpI5EeKQe5sDYoOPBA" generatedResourcePath="/COMPILATION/GENERATED/setIntegerAttributeText.modelingbot" compilationTime="1363878821159"><resourceDeclaration href="../../INTENT/IntentDocument.repomodel#_50P9RJI5EeKQe5sDYoOPBA"/><containedElementToInstructions xmi:id="_6gaft5I5EeKQe5sDYoOPBA"><key href="../GENERATED/setIntegerAttributeText.modelingbot#/"/><value xmi:id="_6gafuJI5EeKQe5sDYoOPBA"><instruction href="../../INTENT/IntentDocument.repomodel#_50P9RJI5EeKQe5sDYoOPBA"/></value></containedElementToInstructions></entries><entries xmi:id="_6gafuZI5EeKQe5sDYoOPBA" generatedResourcePath="/COMPILATION/GENERATED/SetAttributeTextTest.java" compilationTime="1363878821159"><resourceDeclaration href="../../INTENT/IntentDocument.repomodel#_50PWMJI5EeKQe5sDYoOPBA"/><containedElementToInstructions xmi:id="_6gafupI5EeKQe5sDYoOPBA"><key href="../GENERATED/SetAttributeTextTest.java#/"/><value xmi:id="_6gafu5I5EeKQe5sDYoOPBA"><instruction href="../../INTENT/IntentDocument.repomodel#_50PWMJI5EeKQe5sDYoOPBA"/></value></containedElementToInstructions></entries></intentCompilerInfos:TraceabilityIndex>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/INTENT/IntentDocument.repomodel b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/INTENT/IntentDocument.repomodel
new file mode 100644
index 000000000..36f5a2789
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/INTENT/IntentDocument.repomodel
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="ASCII"?>
+<intentDocument:IntentDocument xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:intentDU="http://www.eclipse.org/intent/descriptionunit/0.7" xmlns:intentDocument="http://www.eclipse.org/intent/intentdocument/0.7" xmlns:intentMU="http://www.eclipse.org/intent/modelingunit/0.7" xmlns:markup="http://www.eclipse.org/intent/markup/0.7" xmi:id="_5aZEYIv6EeKmRc-sP7vKPw"><indexEntry href="../IntentIndex.repomodel#_LYVxAJI4EeKgHtARLPRUSQ"/><chapters xmi:id="_Bn5IcJIpEeK_DsLvK72EYw" completeLevel="1"><title xsi:type="markup:Paragraph" xmi:id="_yzr-MJIxEeKgHtARLPRUSQ"><attributes xmi:id="_yzr-MZIxEeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_AEj-YJIyEeKgHtARLPRUSQ" data="Introduction"/></title><indexEntry href="../IntentIndex.repomodel#_LYVxAZI4EeKgHtARLPRUSQ"/><intentContent xsi:type="intentDU:DescriptionUnit" xmi:id="_9yd_8JIxEeKgHtARLPRUSQ"><instructions xsi:type="intentDU:DescriptionBloc" xmi:id="_9yenAJIxEeKgHtARLPRUSQ" lineBreak="true"><descriptionBloc xsi:type="markup:SimpleContainer" xmi:id="_9yenAZIxEeKgHtARLPRUSQ"><content xsi:type="markup:Paragraph" xmi:id="_9yenApIxEeKgHtARLPRUSQ"><attributes xmi:id="_9yenA5IxEeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_L6jU8pIyEeKgHtARLPRUSQ" data="The "/><content xsi:type="markup:Text" xmi:id="_L6jU8JIyEeKgHtARLPRUSQ" data="Extended Editing Framework"><attributes xmi:id="_L6jU8ZIyEeKgHtARLPRUSQ"/><format>strong</format></content><content xsi:type="markup:Text" xmi:id="_9yenBJIxEeKgHtARLPRUSQ" data=" is a presentation framework for the Eclipse Modeling Framework. It allows user to create rich user interfaces to edit EMF models."/></content></descriptionBloc></instructions><instructions xsi:type="intentDU:DescriptionBloc" xmi:id="_Gl-c8JIyEeKgHtARLPRUSQ"><descriptionBloc xsi:type="markup:SimpleContainer" xmi:id="_Gl-c8ZIyEeKgHtARLPRUSQ"><content xsi:type="markup:Paragraph" xmi:id="_Gl-c8pIyEeKgHtARLPRUSQ"><attributes xmi:id="_Gl-c85IyEeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_Gl-c9JIyEeKgHtARLPRUSQ" data="Editing models is an important task for the tools developed with EMF. EEF enables you to produce more usable user interface to edit EMF models via a generative process. EEF generates by default JFace wizards and properties views to edit your models but you can use the generated interfaces in any kind of your UI parts." lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_Gl-c9ZIyEeKgHtARLPRUSQ" data="EEF is a good EMF world citizen, all customizations done on the EMF layer are integrated in the EEF interfaces. Frameworks like EMF Validation, EMF Transaction, ... natively work with EEF."/></content></descriptionBloc></instructions></intentContent></chapters><chapters xmi:id="_vqkRIJIxEeKgHtARLPRUSQ" completeLevel="2"><title xsi:type="markup:Paragraph" xmi:id="_vqk4MJIxEeKgHtARLPRUSQ"><attributes xmi:id="_vqlfQJIxEeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_kojfwJIyEeKgHtARLPRUSQ" data="Features"/></title><indexEntry href="../IntentIndex.repomodel#_LYWYEJI4EeKgHtARLPRUSQ"/><intentContent xsi:type="intentDU:DescriptionUnit" xmi:id="_Q7AhoJIzEeKgHtARLPRUSQ"><instructions xsi:type="intentDU:DescriptionBloc" xmi:id="_Q7AhoZIzEeKgHtARLPRUSQ"><descriptionBloc xsi:type="markup:SimpleContainer" xmi:id="_Q7AhopIzEeKgHtARLPRUSQ"><content xsi:type="markup:Paragraph" xmi:id="_Q7Aho5IzEeKgHtARLPRUSQ"><attributes xmi:id="_Q7AhpJIzEeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_Q7BIsJIzEeKgHtARLPRUSQ" data="EEF comes with three components:" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_BVesUJI1EeKgHtARLPRUSQ" data="- A runtime providing a standard MVC architecture specially designed to create EMF editing forms." lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_BVesUZI1EeKgHtARLPRUSQ" data="- A code generator able to produce Views and Wizard dedicated to your very specific models" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_ODkIgJI1EeKgHtARLPRUSQ" data="- A UI modeling environment helping you to design your views."/></content></descriptionBloc></instructions></intentContent><intentContent xsi:type="intentDocument:IntentSection" xmi:id="_a34vkJI1EeKgHtARLPRUSQ" completeLevel="2.1"><title xsi:type="markup:Paragraph" xmi:id="_a34vkZI1EeKgHtARLPRUSQ"><attributes xmi:id="_a34vkpI1EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_eszysJI1EeKgHtARLPRUSQ" data="EEF Runtime"/></title><indexEntry href="../IntentIndex.repomodel#_LYWYEZI4EeKgHtARLPRUSQ"/><intentContent xsi:type="intentDocument:IntentSection" xmi:id="_0tVDkJI1EeKgHtARLPRUSQ" completeLevel="2.1.1"><title xsi:type="markup:Paragraph" xmi:id="_0tVqoJI1EeKgHtARLPRUSQ"><attributes xmi:id="_0tVqoZI1EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_0tVqopI1EeKgHtARLPRUSQ" data="Architecture"/></title><indexEntry href="../IntentIndex.repomodel#_LYWYEpI4EeKgHtARLPRUSQ"/></intentContent><intentContent xsi:type="intentDocument:IntentSection" xmi:id="_4XC8QJI1EeKgHtARLPRUSQ" completeLevel="2.1.2"><title xsi:type="markup:Paragraph" xmi:id="_4XC8QZI1EeKgHtARLPRUSQ"><attributes xmi:id="_4XC8QpI1EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_LRN1UpI4EeKgHtARLPRUSQ" data="EEF toolkits"/></title><indexEntry href="../IntentIndex.repomodel#_LYW_IJI4EeKgHtARLPRUSQ"/><intentContent xsi:type="intentDocument:IntentSection" xmi:id="_LRF5gJI4EeKgHtARLPRUSQ" completeLevel="2.1.2.1"><title xsi:type="markup:Paragraph" xmi:id="_LRKyAZI4EeKgHtARLPRUSQ"><attributes xmi:id="_LRKyApI4EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_LRKyA5I4EeKgHtARLPRUSQ" data="Standard "/><content xsi:type="markup:Entity" xmi:id="_LRKyBJI4EeKgHtARLPRUSQ" data="#171"/><content xsi:type="markup:Text" xmi:id="_LRLZEJI4EeKgHtARLPRUSQ" data="SWT"/><content xsi:type="markup:Entity" xmi:id="_LRLZEZI4EeKgHtARLPRUSQ" data="#187"/><content xsi:type="markup:Text" xmi:id="_LRLZEpI4EeKgHtARLPRUSQ" data=" Toolkit"/></title><indexEntry href="../IntentIndex.repomodel#_LYW_IZI4EeKgHtARLPRUSQ"/><intentContent xsi:type="intentDU:DescriptionUnit" xmi:id="_LRGgkJI4EeKgHtARLPRUSQ"><instructions xsi:type="intentDU:DescriptionBloc" xmi:id="_LRGgkZI4EeKgHtARLPRUSQ"><descriptionBloc xsi:type="markup:SimpleContainer" xmi:id="_LRGgkpI4EeKgHtARLPRUSQ"><content xsi:type="markup:Paragraph" xmi:id="_LRGgk5I4EeKgHtARLPRUSQ"><attributes xmi:id="_LRGglJI4EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_50LEwJI5EeKQe5sDYoOPBA" data="The SWT is composed of 7 widgets:" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LEwZI5EeKQe5sDYoOPBA" data="&#x9;- Text" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LEwpI5EeKQe5sDYoOPBA" data="&#x9;- TextArea" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LEw5I5EeKQe5sDYoOPBA" data="&#x9;- Checkbox" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LExJI5EeKQe5sDYoOPBA" data="&#x9;- Radio" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LExZI5EeKQe5sDYoOPBA" data="&#x9;- Combo" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LExpI5EeKQe5sDYoOPBA" data="&#x9;- Group" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_50LEx5I5EeKQe5sDYoOPBA" data="&#x9;- Hbox" lineBreak="true"/><content xsi:type="markup:Text" xmi:id="_LRIVwJI4EeKgHtARLPRUSQ" data="The text&#x9;widget enables users to edit "/><content xsi:type="markup:Text" xmi:id="_50LEyJI5EeKQe5sDYoOPBA" data="EAttributes"><attributes xmi:id="_50LEyZI5EeKQe5sDYoOPBA"/><format>emphasis</format></content><content xsi:type="markup:Text" xmi:id="_LRJj4JI4EeKgHtARLPRUSQ" data=" by entering a String value. The standard use case is to edit an EAttribute haved a EString. For instance, in this scenario, an user is able do defines the firstname of conference participant using a text widget:"/></content></descriptionBloc></instructions></intentContent><intentContent xsi:type="intentMU:ModelingUnit" xmi:id="_LRMAIJI4EeKgHtARLPRUSQ"><instructions xsi:type="intentMU:ExternalContentReference" xmi:id="_50OvIJI5EeKQe5sDYoOPBA" lineBreak="true" uri="intent:/org.eclipse.emf.eef.scenarios.idoc/setAttributeText.modelingbot"><externalContent href="../COMPILATION/GENERATED/setAttributeText.modelingbot#/"/></instructions><instructions xsi:type="intentMU:ExternalContentReference" xmi:id="_50PWMJI5EeKQe5sDYoOPBA" lineBreak="true" uri="org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetAttributeTextTest.java"><externalContent href="../COMPILATION/GENERATED/SetAttributeTextTest.java#/"/></instructions></intentContent><intentContent xsi:type="intentDU:DescriptionUnit" xmi:id="_LRJj4ZI4EeKgHtARLPRUSQ"><instructions xsi:type="intentDU:DescriptionBloc" xmi:id="_LRJj4pI4EeKgHtARLPRUSQ"><descriptionBloc xsi:type="markup:SimpleContainer" xmi:id="_LRJj45I4EeKgHtARLPRUSQ"><content xsi:type="markup:Paragraph" xmi:id="_LRJj5JI4EeKgHtARLPRUSQ"><attributes xmi:id="_LRJj5ZI4EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_LRKK8JI4EeKgHtARLPRUSQ" data="An interisting fact is that EEF invoke the EMF method "/><content xsi:type="markup:Text" xmi:id="_50P9QJI5EeKQe5sDYoOPBA" data="createFromString"><attributes xmi:id="_50P9QZI5EeKQe5sDYoOPBA"/><format>emphasis</format></content><content xsi:type="markup:Text" xmi:id="_LRKK8ZI4EeKgHtARLPRUSQ" data=" on the entered value. So with a text widget you can edit any kind of "/><content xsi:type="markup:Text" xmi:id="_50P9QpI5EeKQe5sDYoOPBA" data="EAttribute"><attributes xmi:id="_50P9Q5I5EeKQe5sDYoOPBA"/><format>emphasis</format></content><content xsi:type="markup:Text" xmi:id="_LRKyAJI4EeKgHtARLPRUSQ" data=" if theirs type can be created from a String. In this second scenario, a text widget is used to edit the age of a participant:"/></content></descriptionBloc></instructions></intentContent><intentContent xsi:type="intentMU:ModelingUnit" xmi:id="_LRMnMJI4EeKgHtARLPRUSQ"><instructions xsi:type="intentMU:ExternalContentReference" xmi:id="_50P9RJI5EeKQe5sDYoOPBA" lineBreak="true" uri="intent:/org.eclipse.emf.eef.scenarios.idoc/setIntegerAttributeText.modelingbot"><externalContent href="../COMPILATION/GENERATED/setIntegerAttributeText.modelingbot#/"/></instructions><instructions xsi:type="intentMU:ExternalContentReference" xmi:id="_50P9RZI5EeKQe5sDYoOPBA" lineBreak="true" uri="org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetIntegerAttributeTextTest.java"><externalContent href="../COMPILATION/GENERATED/SetIntegerAttributeTextTest.java#/"/></instructions></intentContent></intentContent><intentContent xsi:type="intentDocument:IntentSection" xmi:id="_LRNOQJI4EeKgHtARLPRUSQ" completeLevel="2.1.2.2"><title xsi:type="markup:Paragraph" xmi:id="_LRNOQZI4EeKgHtARLPRUSQ"><attributes xmi:id="_LRNOQpI4EeKgHtARLPRUSQ"/><content xsi:type="markup:Text" xmi:id="_LRNOQ5I4EeKgHtARLPRUSQ" data="EMF-dedicated "/><content xsi:type="markup:Entity" xmi:id="_LRNORJI4EeKgHtARLPRUSQ" data="#171"/><content xsi:type="markup:Text" xmi:id="_LRNORZI4EeKgHtARLPRUSQ" data="EMFProperties"/><content xsi:type="markup:Entity" xmi:id="_LRN1UJI4EeKgHtARLPRUSQ" data="#187"/><content xsi:type="markup:Text" xmi:id="_LRN1UZI4EeKgHtARLPRUSQ" data=" Toolkit"/></title><indexEntry href="../IntentIndex.repomodel#_LYXmMJI4EeKgHtARLPRUSQ"/></intentContent></intentContent></intentContent></chapters></intentDocument:IntentDocument>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/IntentIndex.repomodel b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/IntentIndex.repomodel
new file mode 100644
index 000000000..8ff7c57a5
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.repository/IntentIndex.repomodel
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="ASCII"?>
+<intentIndexer:IntentIndex xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:intentIndexer="http://www.eclipse.org/intent/indexer/0.7" xmi:id="_5YWdAIv6EeKmRc-sP7vKPw"><entries xmi:id="_LYVxAJI4EeKgHtARLPRUSQ" name="Document"><referencedElement href="INTENT/IntentDocument.repomodel#_5aZEYIv6EeKmRc-sP7vKPw"/><subEntries xmi:id="_LYVxAZI4EeKgHtARLPRUSQ" name="1 Introduction" type="IntentChapter"><referencedElement href="INTENT/IntentDocument.repomodel#_Bn5IcJIpEeK_DsLvK72EYw"/></subEntries><subEntries xmi:id="_LYWYEJI4EeKgHtARLPRUSQ" name="2 Features" type="IntentChapter"><referencedElement href="INTENT/IntentDocument.repomodel#_vqkRIJIxEeKgHtARLPRUSQ"/><subEntries xmi:id="_LYWYEZI4EeKgHtARLPRUSQ" name="2.1 EEF Runtime" type="IntentSection"><referencedElement href="INTENT/IntentDocument.repomodel#_a34vkJI1EeKgHtARLPRUSQ"/><subEntries xmi:id="_LYWYEpI4EeKgHtARLPRUSQ" name="2.1.1 Architecture" type="IntentSection"><referencedElement href="INTENT/IntentDocument.repomodel#_0tVDkJI1EeKgHtARLPRUSQ"/></subEntries><subEntries xmi:id="_LYW_IJI4EeKgHtARLPRUSQ" name="2.1.2 EEF toolkits" type="IntentSection"><referencedElement href="INTENT/IntentDocument.repomodel#_4XC8QJI1EeKgHtARLPRUSQ"/><subEntries xmi:id="_LYW_IZI4EeKgHtARLPRUSQ" name="2.1.2.1 Standard #171SWT#187 Toolkit" type="IntentSection"><referencedElement href="INTENT/IntentDocument.repomodel#_LRF5gJI4EeKgHtARLPRUSQ"/></subEntries><subEntries xmi:id="_LYXmMJI4EeKgHtARLPRUSQ" name="2.1.2.2 EMF-dedicated #171EMFProperties#187 Toolkit" type="IntentSection"><referencedElement href="INTENT/IntentDocument.repomodel#_LRNOQJI4EeKgHtARLPRUSQ"/></subEntries></subEntries></subEntries></subEntries></entries></intentIndexer:IntentIndex>
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.emf.eef.scenarios.idoc/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..f287d53cf
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/.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/tests/org.eclipse.emf.eef.scenarios.idoc/META-INF/MANIFEST.MF b/tests/org.eclipse.emf.eef.scenarios.idoc/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..a993c8a9b
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/META-INF/MANIFEST.MF
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: eef
+Bundle-SymbolicName: org.eclipse.emf.eef.scenarios.idoc
+Bundle-Version: 1.0.0.qualifier
+Require-Bundle: org.eclipse.emf.eef.modelingbot;bundle-version="1.2.0",
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.junit4
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/bonjour.textile b/tests/org.eclipse.emf.eef.scenarios.idoc/bonjour.textile
new file mode 100644
index 000000000..07bde9fa2
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/bonjour.textile
@@ -0,0 +1,3 @@
+
+*
+* text2
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/build.properties b/tests/org.eclipse.emf.eef.scenarios.idoc/build.properties
new file mode 100644
index 000000000..5e3728557
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/build.properties
@@ -0,0 +1 @@
+bin.includes = META-INF/
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetAttributeTextTest.java b/tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetAttributeTextTest.java
new file mode 100644
index 000000000..8e496c995
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetAttributeTextTest.java
@@ -0,0 +1,9 @@
+package org.eclipse.emf.eef.scenarios.idoc.scenarios;
+/**
+* Tests the 'setAttributeText' Scenario.
+*/
+public class SetAttributeTextTest extends org.eclipse.emf.eef.modelingBot.testcase.AbstractComposedModelingBotTestCase {
+ public void testModelingBot() throws Exception {
+ bot.runModelingBot("intent:/org.eclipse.emf.eef.scenarios.idoc/setAttributeText.modelingbot");
+ }
+} \ No newline at end of file
diff --git a/tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetIntegerAttributeTextTest.java b/tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetIntegerAttributeTextTest.java
new file mode 100644
index 000000000..8bb57eed8
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.scenarios.idoc/src/org/eclipse/emf/eef/scenarios/idoc/scenarios/SetIntegerAttributeTextTest.java
@@ -0,0 +1,9 @@
+package org.eclipse.emf.eef.scenarios.idoc.scenarios;
+/**
+* Tests the 'setIntegerAttributeText' Scenario.
+*/
+public class SetIntegerAttributeTextTest extends org.eclipse.emf.eef.modelingBot.testcase.AbstractComposedModelingBotTestCase {
+ public void testModelingBot() throws Exception {
+ bot.runModelingBot("intent:/org.eclipse.emf.eef.scenarios.idoc/setIntegerAttributeText.modelingbot");
+ }
+} \ No newline at end of file

Back to the top