diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.classpath index 428337e5..5bfb3c39 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.classpath @@ -1,6 +1,6 @@ - + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.jdt.core.prefs index 0c68a61d..d4540a53 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.jdt.core.prefs +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/.settings/org.eclipse.jdt.core.prefs @@ -1,7 +1,10 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/META-INF/MANIFEST.MF index 574c77f2..f73dbc4e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/META-INF/MANIFEST.MF @@ -13,4 +13,5 @@ Require-Bundle: fr.inria.diverse.k3.al.annotationprocessor.plugin;bundle-version org.eclipse.emf.common;bundle-version="2.8.0";visibility:="reexport", org.gemoc.arduino.sequential.model;bundle-version="1.0.0" Bundle-ManifestVersion: 2 -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Automatic-Module-Name: org.gemoc.arduino.sequential.k3dsa +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/src/org/gemoc/arduino/sequential/k3dsa/OperationalSemantics.xtend b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/src/org/gemoc/arduino/sequential/k3dsa/OperationalSemantics.xtend index 8bb8fec3..c01336ae 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/src/org/gemoc/arduino/sequential/k3dsa/OperationalSemantics.xtend +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.k3dsa/src/org/gemoc/arduino/sequential/k3dsa/OperationalSemantics.xtend @@ -58,7 +58,7 @@ class Instruction_UtilitesAspect { var Project project = null var current = _self.eContainer() - while (current != null) { + while (current !== null) { if (current instanceof Project) { project = current as Project return project @@ -75,7 +75,7 @@ class Instruction_UtilitesAspect { val project = _self.getProject(module) for (board : project.boards) { - if (board != null && board instanceof ArduinoBoard) { + if (board !== null && board instanceof ArduinoBoard) { var ArduinoBoard arduinoBoard = board as ArduinoBoard for (analogPin : arduinoBoard.analogPins) { if (analogPin.module == module) { @@ -135,7 +135,7 @@ class Project_ExecutableAspect { } @InitializeModel - def public void initializeModel(EList args){ + def void initializeModel(EList args){ _self.setup } } @@ -266,7 +266,7 @@ class If_ExecutableAspect extends Control_ExecutableAspect { if (_self.evaluate) { _self.block.execute } else { - if (_self.elseBlock != null) { + if (_self.elseBlock !== null) { _self.elseBlock.execute } } @@ -418,7 +418,7 @@ class IntegerModuleGet_ExecutableAspect extends Expression_EvaluableAspect{ if (_self.module instanceof BluetoothTransceiver){ val l = (_self.module as BluetoothTransceiver).dataReceived val res = l.head - if (res != null) { + if (res !== null) { l.remove(0) return res } else { @@ -583,7 +583,7 @@ abstract class Expression_EvaluableAspect { var Instruction instruction = null var current = _self.eContainer() - while (current != null) { + while (current !== null) { if (current instanceof Instruction) { instruction = current as Instruction return instruction diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.classpath index 8e001f78..abaf32b3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.classpath @@ -1,7 +1,7 @@ - - + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..62ef3488 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/META-INF/MANIFEST.MF index a14f86ed..4ca52c4c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.model/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Export-Package: org.gemoc.sequential.model.arduino, org.gemoc.sequential.model.arduino.impl, org.gemoc.sequential.model.arduino.util diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.classpath index 39810b7d..81fe078c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.classpath @@ -1,7 +1,7 @@ - - - - + + + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..62ef3488 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/META-INF/MANIFEST.MF index 60476bda..a1e5d386 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.design/META-INF/MANIFEST.MF @@ -1,5 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 +Automatic-Module-Name: org.gemoc.arduino.sequential.xarduino.design Bundle-Name: org.gemoc.arduino.sequential.design Bundle-SymbolicName: org.gemoc.arduino.sequential.xarduino.design;singleton:=true Bundle-Version: 1.0.0.qualifier @@ -23,7 +24,7 @@ Require-Bundle: org.eclipse.ui, org.eclipse.gemoc.execution.sequential.javaengine.ui;bundle-version="0.1.0", org.gemoc.arduino.sequential.xarduino;bundle-version="0.1.0" Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Import-Package: com.google.common.collect, org.eclipse.xtext.resource Export-Package: org.gemoc.arduino.sequential.xarduino.design, diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.classpath index 22f30643..81fe078c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.classpath @@ -1,7 +1,7 @@ - - + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..62ef3488 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/META-INF/MANIFEST.MF index b578bb75..639959be 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.edit/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Bundle-ClassPath: . Bundle-Activator: org.gemoc.arduino.sequential.xarduino.arduino.provider.XArduinoEditPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Export-Package: org.gemoc.arduino.sequential.xarduino.arduino.provider Require-Bundle: org.eclipse.core.runtime, org.gemoc.arduino.sequential.xarduino;visibility:=reexport, diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.classpath index 22f30643..81fe078c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.classpath @@ -1,7 +1,7 @@ - - + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..62ef3488 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/META-INF/MANIFEST.MF index 4ae77a4d..98b8fcbb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino.editor/META-INF/MANIFEST.MF @@ -8,7 +8,7 @@ Bundle-ClassPath: . Bundle-Activator: org.gemoc.arduino.sequential.xarduino.arduino.presentation.XArduinoEditorPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Export-Package: org.gemoc.arduino.sequential.xarduino.arduino.presentation Require-Bundle: org.eclipse.core.runtime, org.eclipse.core.resources;visibility:=reexport, diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.classpath index f9f04ed5..f574c0cb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.classpath @@ -1,8 +1,8 @@ + + - - diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.project b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.project index d4f8379f..b1c077a2 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.project +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.project @@ -31,12 +31,13 @@ - org.eclipse.gemoc.execution.sequential.javaxdsml.ide.ui.GemocSequentialLanguageBuilder + org.eclipse.gemoc.xdsmlframework.ide.ui.GemocLanguageProjectBuilder + org.eclipse.gemoc.xdsmlframework.ide.ui.GemocLanguageProjectNature org.eclipse.gemoc.execution.sequential.javaxdsml.ide.ui.GemocSequentialLanguageNature org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..62ef3488 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/META-INF/MANIFEST.MF index ed46fe82..32c198b7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/META-INF/MANIFEST.MF @@ -1,25 +1,27 @@ Manifest-Version: 1.0 -Automatic-Module-Name: org.gemoc.arduino.sequential.xarduino +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName Bundle-SymbolicName: org.gemoc.arduino.sequential.xarduino;singleton:=true +Automatic-Module-Name: org.gemoc.arduino.sequential.xarduino +Bundle-Version: 0.1.0 +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:="reexport", fr.inria.diverse.k3.al.annotationprocessor.plugin, fr.inria.diverse.melange, org.eclipse.xtext.xbase.lib, + org.eclipse.gemoc.xdsmlframework.api;bundle-version="4.0.0";visibility:="reexport", + org.eclipse.emf.ecore.xmi;bundle-version="2.8.0";visibility:="reexport", + org.eclipse.gemoc.executionframework.engine;bundle-version="4.0.0";visibility:="reexport", com.google.guava, org.eclipse.xtend.lib, org.eclipse.emf.common, - org.eclipse.emf.ecore.xmi, org.eclipse.gemoc.executionframework.extensions.sirius;bundle-version=0.0.0;visibility:=reexport -Bundle-ManifestVersion: 2 Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Bundle-Vendor: %providerName Export-Package: org.gemoc.arduino.sequential.xarduino.aspects, org.gemoc.arduino.sequential.xarduino.arduino, org.gemoc.arduino.sequential.xarduino.arduino.impl, org.gemoc.arduino.sequential.xarduino.arduino.util -Bundle-Name: %pluginName -Bundle-Version: 0.1.0 -Bundle-ClassPath: . -Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/XArduino.dsl b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/XArduino.dsl index aa857f3c..586efba3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/XArduino.dsl +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/XArduino.dsl @@ -3,3 +3,5 @@ name = org.gemoc.arduino.sequential.XArduino ecore = platform:/resource/org.gemoc.arduino.sequential.xarduino/model/XArduino.ecore k3 = org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.While_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.ModuleAssignment_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.ArduinoCommunicationModule_PushAspect,org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspect,org.gemoc.arduino.sequential.xarduino.aspects.VariableAssignment_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.BooleanModuleGet_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspect,org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.BooleanConstant_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspect,org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect + + metaprog = org.eclipse.gemoc.metaprog.kermeta3 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/build.properties b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/build.properties index ea9b4a9a..8effa83b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/build.properties +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/build.properties @@ -1,4 +1,4 @@ # -#Thu Oct 24 17:56:36 CEST 2019 +#Wed Jun 05 14:50:44 CEST 2024 bin.includes=META-INF/,.,plugin.xml,plugin.properties,model/,XArduino.dsl source..=src,\n src-gen diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.ecore b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.ecore index e6b5123f..f1aad395 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.ecore +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.ecore @@ -1,32 +1,25 @@ - - - - - - - - - - + + + + + + + + + + + - - + + - - - - + + + + @@ -40,12 +33,12 @@ - + + + - - + + @@ -55,79 +48,81 @@ - + - + - + - - + + + - + - + - + - - + + + + - + + + - + - + + - + + + - - + + - - + + + - + - - - + + + @@ -138,99 +133,102 @@ - - + + - + - + - - + + - + - - + + - + - + - - + + - - + + + - - + + - - + + - + + + - - + + - + + + - - - - + + + + - - + + - - + + + + + - - + + - - + + + + + - - + + - - + + @@ -251,91 +249,79 @@ - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - - - - - - - - - + + + + + + + + + + - + - - - + + + - - - - + + + + - + - + - - + + + - + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.genmodel b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.genmodel index 48807485..25cd09ff 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.genmodel +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/model/XArduino.genmodel @@ -1,6 +1,6 @@ - - XArduino.ecore + + platform:/resource/org.gemoc.arduino.sequential.xarduino/model/XArduino.ecore diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/plugin.xml b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/plugin.xml index 34f525f6..a1967b70 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/plugin.xml +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/plugin.xml @@ -5,7 +5,7 @@ - - + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspect.java index f08a36d7..fca58261 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspect.java @@ -2,7 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Abstract; import fr.inria.diverse.k3.al.annotationprocessor.Aspect; -import org.gemoc.arduino.sequential.xarduino.aspects.ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.ArduinoCommunicationModule; @Aspect(className = ArduinoCommunicationModule.class) @@ -21,7 +20,7 @@ public static void push(final ArduinoCommunicationModule _self) { } ; } - + protected static void _privk3_push(final ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectProperties _self_, final ArduinoCommunicationModule _self) { throw new java.lang.RuntimeException("Not implemented"); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext.java index 33ccb042..7f9d5ed3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.ArduinoCommunicationModule; @SuppressWarnings("all") public class ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext { - public final static ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext INSTANCE = new ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext(); - + public static final ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext INSTANCE = new ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectContext(); + public static ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectProperties getSelf(final ArduinoCommunicationModule _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.ArduinoCommunicationModule_PushAspectArduinoCommunicationModuleAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspect.java index f8ddae6b..0300420c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanExpression; import org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanOperatorKind; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression; @@ -22,12 +20,12 @@ public static Object evaluate(final BinaryBooleanExpression _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final BinaryBooleanExpression _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectProperties _self_, final BinaryBooleanExpression _self) { boolean leftIsBoolean = false; boolean rightIsBoolean = false; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext.java index b7d59285..fb008dbe 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanExpression; @SuppressWarnings("all") public class BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext { - public final static BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext INSTANCE = new BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext(); - + public static final BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext INSTANCE = new BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectContext(); + public static BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectProperties getSelf(final BinaryBooleanExpression _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspectBinaryBooleanExpressionAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspect.java index 91495904..88f7bce7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerExpression; import org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerOperatorKind; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression; @@ -22,12 +20,12 @@ public static Object evaluate(final BinaryIntegerExpression _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final BinaryIntegerExpression _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectProperties _self_, final BinaryIntegerExpression _self) { Integer res = null; boolean bLeft = false; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext.java index b8ac41c3..3e9fab7c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerExpression; @SuppressWarnings("all") public class BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext { - public final static BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext INSTANCE = new BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext(); - + public static final BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext INSTANCE = new BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectContext(); + public static BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectProperties getSelf(final BinaryIntegerExpression _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspectBinaryIntegerExpressionAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspect.java index 2cea6686..e0fe0caf 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import org.eclipse.emf.common.util.EList; -import org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspectBlockAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.Block; import org.gemoc.arduino.sequential.xarduino.arduino.Instruction; @@ -16,7 +14,7 @@ public static void execute(final Block _self) { _privk3_execute(_self_, _self); ; } - + protected static void _privk3_execute(final Block_ExecutableAspectBlockAspectProperties _self_, final Block _self) { EList _instructions = _self.getInstructions(); for (final Instruction i : _instructions) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspectBlockAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspectBlockAspectContext.java index 1df40b7d..5b752c14 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspectBlockAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Block_ExecutableAspectBlockAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspectBlockAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Block; @SuppressWarnings("all") public class Block_ExecutableAspectBlockAspectContext { - public final static Block_ExecutableAspectBlockAspectContext INSTANCE = new Block_ExecutableAspectBlockAspectContext(); - + public static final Block_ExecutableAspectBlockAspectContext INSTANCE = new Block_ExecutableAspectBlockAspectContext(); + public static Block_ExecutableAspectBlockAspectProperties getSelf(final Block _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspectBlockAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspect.java index d490c731..0de3df14 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspect.java @@ -5,8 +5,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Step; import java.util.function.Consumer; import org.eclipse.emf.common.util.EList; -import org.gemoc.arduino.sequential.xarduino.aspects.ArduinoCommunicationModule_PushAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BluetoothTransceiver; @Aspect(className = BluetoothTransceiver.class) @@ -33,7 +31,7 @@ public void execute() { ; ; } - + public static EList dataToSend(final BluetoothTransceiver _self) { final org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext .getSelf(_self); @@ -42,7 +40,7 @@ public static EList dataToSend(final BluetoothTransceiver _self) { ; return (org.eclipse.emf.common.util.EList) result; } - + public static void dataToSend(final BluetoothTransceiver _self, final EList dataToSend) { final org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext.getSelf(_self); // #DispatchPointCut_before# void dataToSend(EList) @@ -50,7 +48,7 @@ public static void dataToSend(final BluetoothTransceiver _self, final EList dataReceived(final BluetoothTransceiver _self) { final org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext .getSelf(_self); @@ -59,7 +57,7 @@ public static EList dataReceived(final BluetoothTransceiver _self) { ; return (org.eclipse.emf.common.util.EList) result; } - + public static void dataReceived(final BluetoothTransceiver _self, final EList dataReceived) { final org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext.getSelf(_self); // #DispatchPointCut_before# void dataReceived(EList) @@ -67,7 +65,7 @@ public static void dataReceived(final BluetoothTransceiver _self, final EList _function = (BluetoothTransceiver t) -> { final EList l = BluetoothTransceiver_PushAspect.dataReceived(t); @@ -79,7 +77,7 @@ protected static void _privk3_push(final BluetoothTransceiver_PushAspectBluetoot _self.getConnectedTransceiver().forEach(_function); BluetoothTransceiver_PushAspect.dataToSend(_self).clear(); } - + protected static EList _privk3_dataToSend(final BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_, final BluetoothTransceiver _self) { try { for (java.lang.reflect.Method m : _self.getClass().getMethods()) { @@ -89,8 +87,8 @@ protected static EList _privk3_dataToSend(final BluetoothTransceiver_Pu if (ret != null) { return (org.eclipse.emf.common.util.EList) ret; } else { - return null; - } + return null; + } } } } catch (Exception e) { @@ -98,7 +96,7 @@ protected static EList _privk3_dataToSend(final BluetoothTransceiver_Pu } return _self_.dataToSend; } - + protected static void _privk3_dataToSend(final BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_, final BluetoothTransceiver _self, final EList dataToSend) { boolean setterCalled = false; try { @@ -116,7 +114,7 @@ protected static void _privk3_dataToSend(final BluetoothTransceiver_PushAspectBl _self_.dataToSend = dataToSend; } } - + protected static EList _privk3_dataReceived(final BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_, final BluetoothTransceiver _self) { try { for (java.lang.reflect.Method m : _self.getClass().getMethods()) { @@ -126,8 +124,8 @@ protected static EList _privk3_dataReceived(final BluetoothTransceiver_ if (ret != null) { return (org.eclipse.emf.common.util.EList) ret; } else { - return null; - } + return null; + } } } } catch (Exception e) { @@ -135,7 +133,7 @@ protected static EList _privk3_dataReceived(final BluetoothTransceiver_ } return _self_.dataReceived; } - + protected static void _privk3_dataReceived(final BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties _self_, final BluetoothTransceiver _self, final EList dataReceived) { boolean setterCalled = false; try { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext.java index 6c80f274..6eaffcb8 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BluetoothTransceiver; @SuppressWarnings("all") public class BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext { - public final static BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext INSTANCE = new BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext(); - + public static final BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext INSTANCE = new BluetoothTransceiver_PushAspectBluetoothTransceiverAspectContext(); + public static BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties getSelf(final BluetoothTransceiver _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties.java index 47383ff5..256b5e62 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties.java @@ -5,6 +5,6 @@ @SuppressWarnings("all") public class BluetoothTransceiver_PushAspectBluetoothTransceiverAspectProperties { public EList dataToSend; - + public EList dataReceived; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspect.java index d2f0ace8..a16b3f59 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanConstant_ExecutableAspectBooleanConstantAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanConstant; @Aspect(className = BooleanConstant.class) @@ -18,12 +16,12 @@ public static Object evaluate(final BooleanConstant _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final BooleanConstant _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final BooleanConstant_ExecutableAspectBooleanConstantAspectProperties _self_, final BooleanConstant _self) { return Boolean.valueOf(_self.isValue()); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspectBooleanConstantAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspectBooleanConstantAspectContext.java index 13150508..1684db67 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspectBooleanConstantAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanConstant_ExecutableAspectBooleanConstantAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanConstant_ExecutableAspectBooleanConstantAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanConstant; @SuppressWarnings("all") public class BooleanConstant_ExecutableAspectBooleanConstantAspectContext { - public final static BooleanConstant_ExecutableAspectBooleanConstantAspectContext INSTANCE = new BooleanConstant_ExecutableAspectBooleanConstantAspectContext(); - + public static final BooleanConstant_ExecutableAspectBooleanConstantAspectContext INSTANCE = new BooleanConstant_ExecutableAspectBooleanConstantAspectContext(); + public static BooleanConstant_ExecutableAspectBooleanConstantAspectProperties getSelf(final BooleanConstant _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.BooleanConstant_ExecutableAspectBooleanConstantAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspect.java index 2838031b..7a49cde9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspect.java @@ -2,10 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanModuleGet; import org.gemoc.arduino.sequential.xarduino.arduino.Pin; @@ -21,12 +17,12 @@ public static Object evaluate(final BooleanModuleGet _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final BooleanModuleGet _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectProperties _self_, final BooleanModuleGet _self) { final Pin pin = Instruction_UtilitesAspect.getPin(Expression_EvaluableAspect.getInstruction(_self), _self.getModule()); Integer _level = Pin_EvaluableAspect.level(pin); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext.java index b27740cd..c3107747 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanModuleGet; @SuppressWarnings("all") public class BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext { - public final static BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext INSTANCE = new BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext(); - + public static final BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext INSTANCE = new BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectContext(); + public static BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectProperties getSelf(final BooleanModuleGet _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.BooleanModuleGet_ExecutableAspectBooleanModuleGetAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspect.java index a5ebaf71..53dc07ed 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable; @Aspect(className = BooleanVariable.class) @@ -18,7 +16,7 @@ public static Object evaluate(final BooleanVariable _self) { ; return (java.lang.Object) result; } - + public static Boolean value(final BooleanVariable _self) { final org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectContext .getSelf(_self); @@ -27,18 +25,18 @@ public static Boolean value(final BooleanVariable _self) { ; return (java.lang.Boolean) result; } - + public static void value(final BooleanVariable _self, final Boolean value) { final org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectContext .getSelf(_self); _privk3_value(_self_, _self, value); ; } - + protected static Object _privk3_evaluate(final BooleanVariable_EvaluableAspectBooleanVariableAspectProperties _self_, final BooleanVariable _self) { return BooleanVariable_EvaluableAspect.value(_self); } - + protected static Boolean _privk3_value(final BooleanVariable_EvaluableAspectBooleanVariableAspectProperties _self_, final BooleanVariable _self) { try { for (java.lang.reflect.Method m : _self.getClass().getMethods()) { @@ -48,8 +46,8 @@ protected static Boolean _privk3_value(final BooleanVariable_EvaluableAspectBool if (ret != null) { return (java.lang.Boolean) ret; } else { - return null; - } + return null; + } } } } catch (Exception e) { @@ -57,7 +55,7 @@ protected static Boolean _privk3_value(final BooleanVariable_EvaluableAspectBool } return _self_.value; } - + protected static void _privk3_value(final BooleanVariable_EvaluableAspectBooleanVariableAspectProperties _self_, final BooleanVariable _self, final Boolean value) { boolean setterCalled = false; try { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspectBooleanVariableAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspectBooleanVariableAspectContext.java index 772712a6..f477497e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspectBooleanVariableAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/BooleanVariable_EvaluableAspectBooleanVariableAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable; @SuppressWarnings("all") public class BooleanVariable_EvaluableAspectBooleanVariableAspectContext { - public final static BooleanVariable_EvaluableAspectBooleanVariableAspectContext INSTANCE = new BooleanVariable_EvaluableAspectBooleanVariableAspectContext(); - + public static final BooleanVariable_EvaluableAspectBooleanVariableAspectContext INSTANCE = new BooleanVariable_EvaluableAspectBooleanVariableAspectContext(); + public static BooleanVariable_EvaluableAspectBooleanVariableAspectProperties getSelf(final BooleanVariable _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspectBooleanVariableAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspect.java index ea691a34..764a853b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspectConstantAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanConstant; import org.gemoc.arduino.sequential.xarduino.arduino.Constant; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant; @@ -20,12 +18,12 @@ public static Object evaluate(final Constant _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final Constant _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final Constant_EvaluableAspectConstantAspectProperties _self_, final Constant _self) { boolean _matched = false; if (_self instanceof BooleanConstant) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspectConstantAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspectConstantAspectContext.java index 430693f8..2394e805 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspectConstantAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Constant_EvaluableAspectConstantAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspectConstantAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Constant; @SuppressWarnings("all") public class Constant_EvaluableAspectConstantAspectContext { - public final static Constant_EvaluableAspectConstantAspectContext INSTANCE = new Constant_EvaluableAspectConstantAspectContext(); - + public static final Constant_EvaluableAspectConstantAspectContext INSTANCE = new Constant_EvaluableAspectConstantAspectContext(); + public static Constant_EvaluableAspectConstantAspectProperties getSelf(final Constant _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspectConstantAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspect.java index 0d04f9ec..4dbfddfb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspect.java @@ -1,8 +1,6 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import fr.inria.diverse.k3.al.annotationprocessor.Aspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.Control; @Aspect(className = Control.class) @@ -12,15 +10,15 @@ public static Boolean evaluate(final Control _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectContext .getSelf(_self); Object result = null; - if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { - result = org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { + if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { result = org.gemoc.arduino.sequential.xarduino.aspects.While_EvaluableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.While) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.If) { result = org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.If) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { + result = org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Control) { result = org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Control) _self); @@ -31,7 +29,7 @@ public static Boolean evaluate(final Control _self) { ; return (java.lang.Boolean) result; } - + protected static Boolean _privk3_evaluate(final Control_EvaluableAspectControlAspectProperties _self_, final Control _self) { return null; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspectControlAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspectControlAspectContext.java index 7add69c2..0f823e10 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspectControlAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_EvaluableAspectControlAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Control; @SuppressWarnings("all") public class Control_EvaluableAspectControlAspectContext { - public final static Control_EvaluableAspectControlAspectContext INSTANCE = new Control_EvaluableAspectControlAspectContext(); - + public static final Control_EvaluableAspectControlAspectContext INSTANCE = new Control_EvaluableAspectControlAspectContext(); + public static Control_EvaluableAspectControlAspectProperties getSelf(final Control _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspect.java index 38c3e107..665c7836 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.Control; @Aspect(className = Control.class) @@ -13,15 +11,15 @@ public class Control_ExecutableAspect extends Instruction_ExecutableAspect { public static void execute(final Control _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectContext .getSelf(_self); - if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { - org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { + if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspect .execute((org.gemoc.arduino.sequential.xarduino.arduino.While) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.If) { org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspect .execute((org.gemoc.arduino.sequential.xarduino.arduino.If) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { + org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Control) { org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect._privk3_execute(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Control) _self); @@ -31,12 +29,12 @@ public static void execute(final Control _self) { } ; } - + private static void super_execute(final Control _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final Control_ExecutableAspectControlAspectProperties _self_, final Control _self) { } } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspectControlAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspectControlAspectContext.java index 3a85dd37..ae45a127 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspectControlAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Control_ExecutableAspectControlAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Control; @SuppressWarnings("all") public class Control_ExecutableAspectControlAspectContext { - public final static Control_ExecutableAspectControlAspectContext INSTANCE = new Control_ExecutableAspectControlAspectContext(); - + public static final Control_ExecutableAspectControlAspectContext INSTANCE = new Control_ExecutableAspectControlAspectContext(); + public static Control_ExecutableAspectControlAspectProperties getSelf(final Control _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspect.java index e743b1ae..d1bb8449 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspect.java @@ -4,8 +4,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import fr.inria.diverse.k3.al.annotationprocessor.Step; import org.eclipse.xtext.xbase.lib.Exceptions; -import org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspectDelayAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.Delay; @Aspect(className = Delay.class) @@ -32,12 +30,12 @@ public void execute() { ; ; } - + private static void super_execute(final Delay _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspectUtilitiesAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspectUtilitiesAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final Delay_ExecutableAspectDelayAspectProperties _self_, final Delay _self) { try { Thread.sleep(_self.getValue()); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspectDelayAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspectDelayAspectContext.java index ab8bab19..ded543d6 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspectDelayAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Delay_ExecutableAspectDelayAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspectDelayAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Delay; @SuppressWarnings("all") public class Delay_ExecutableAspectDelayAspectContext { - public final static Delay_ExecutableAspectDelayAspectContext INSTANCE = new Delay_ExecutableAspectDelayAspectContext(); - + public static final Delay_ExecutableAspectDelayAspectContext INSTANCE = new Delay_ExecutableAspectDelayAspectContext(); + public static Delay_ExecutableAspectDelayAspectProperties getSelf(final Delay _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspectDelayAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspect.java index ceee4f9e..c25be623 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspect.java @@ -4,7 +4,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Abstract; import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import org.eclipse.emf.ecore.EObject; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Expression; import org.gemoc.arduino.sequential.xarduino.arduino.Instruction; @@ -20,60 +19,60 @@ protected static Instruction getInstruction(final Expression _self) { }; return (org.gemoc.arduino.sequential.xarduino.arduino.Instruction)result; } - + @Abstract public static Object evaluate(final Expression _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext .getSelf(_self); Object result = null; - if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanModuleGet) { + if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerExpression) { + result = org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerExpression) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariableRef) { + result = org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariableRef) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanExpression) { + result = org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanExpression) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanModuleGet) { result = org.gemoc.arduino.sequential.xarduino.aspects.BooleanModuleGet_ExecutableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BooleanModuleGet) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerModuleGet) { - result = org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.IntegerModuleGet) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleGet) { - result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.ModuleGet) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanConstant) { result = org.gemoc.arduino.sequential.xarduino.aspects.BooleanConstant_ExecutableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BooleanConstant) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant) { - result = org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Constant) { - result = org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.Constant) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.UnaryBooleanExpression) { result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.UnaryBooleanExpression) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression) { + result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerModuleGet) { + result = org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.IntegerModuleGet) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.UnaryIntegerExpression) { result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.UnaryIntegerExpression) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerExpression) { - result = org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerExpression) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariableRef) { result = org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariableRef) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant) { + result = org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerExpression) { result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.IntegerExpression) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariableRef) { - result = org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariableRef) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.UnaryExpression) { result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.UnaryExpression) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanExpression) { - result = org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanExpression) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleGet) { + result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.ModuleGet) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BinaryExpression) { result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.BinaryExpression) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression) { - result = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Constant) { + result = org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.Constant) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableRef) { result = org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.VariableRef) _self); @@ -87,7 +86,7 @@ public static Object evaluate(final Expression _self) { ; return (java.lang.Object) result; } - + protected static Instruction _privk3_getInstruction(final Expression_EvaluableAspectExpressionAspectProperties _self_, final Expression _self) { Instruction instruction = null; EObject current = _self.eContainer(); @@ -102,7 +101,7 @@ protected static Instruction _privk3_getInstruction(final Expression_EvaluableAs } return instruction; } - + protected static Object _privk3_evaluate(final Expression_EvaluableAspectExpressionAspectProperties _self_, final Expression _self) { throw new java.lang.RuntimeException("Not implemented"); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspectExpressionAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspectExpressionAspectContext.java index 07254e57..14080a08 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspectExpressionAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Expression_EvaluableAspectExpressionAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Expression; @SuppressWarnings("all") public class Expression_EvaluableAspectExpressionAspectContext { - public final static Expression_EvaluableAspectExpressionAspectContext INSTANCE = new Expression_EvaluableAspectExpressionAspectContext(); - + public static final Expression_EvaluableAspectExpressionAspectContext INSTANCE = new Expression_EvaluableAspectExpressionAspectContext(); + public static Expression_EvaluableAspectExpressionAspectProperties getSelf(final Expression _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspect.java index e1997379..9248938a 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspect.java @@ -2,9 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspectIfAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression; import org.gemoc.arduino.sequential.xarduino.arduino.If; @@ -20,12 +17,12 @@ public static Boolean evaluate(final If _self) { ; return (java.lang.Boolean) result; } - + private static Boolean super_evaluate(final If _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Boolean _privk3_evaluate(final If_EvaluableAspectIfAspectProperties _self_, final If _self) { Boolean resCond = Boolean.valueOf(false); BooleanExpression _condition = _self.getCondition(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspectIfAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspectIfAspectContext.java index e35f4038..874f22fb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspectIfAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_EvaluableAspectIfAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspectIfAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.If; @SuppressWarnings("all") public class If_EvaluableAspectIfAspectContext { - public final static If_EvaluableAspectIfAspectContext INSTANCE = new If_EvaluableAspectIfAspectContext(); - + public static final If_EvaluableAspectIfAspectContext INSTANCE = new If_EvaluableAspectIfAspectContext(); + public static If_EvaluableAspectIfAspectProperties getSelf(final If _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspectIfAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspect.java index 50b2d7cb..d38b34f1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspect.java @@ -4,10 +4,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import fr.inria.diverse.k3.al.annotationprocessor.Step; -import org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspectIfAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Block; import org.gemoc.arduino.sequential.xarduino.arduino.If; @@ -35,12 +31,12 @@ public void execute() { ; ; } - + private static void super_execute(final If _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final If_ExecutableAspectIfAspectProperties _self_, final If _self) { Boolean _evaluate = If_EvaluableAspect.evaluate(_self); if ((_evaluate).booleanValue()) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspectIfAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspectIfAspectContext.java index 727cd9ea..98e7e837 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspectIfAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/If_ExecutableAspectIfAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspectIfAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.If; @SuppressWarnings("all") public class If_ExecutableAspectIfAspectContext { - public final static If_ExecutableAspectIfAspectContext INSTANCE = new If_ExecutableAspectIfAspectContext(); - + public static final If_ExecutableAspectIfAspectContext INSTANCE = new If_ExecutableAspectIfAspectContext(); + public static If_ExecutableAspectIfAspectProperties getSelf(final If _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspectIfAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspect.java index 1e9ddcbf..dc868f7d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspect.java @@ -1,8 +1,6 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import fr.inria.diverse.k3.al.annotationprocessor.Aspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspect; import org.gemoc.arduino.sequential.xarduino.arduino.Instruction; @Aspect(className = Instruction.class) @@ -11,36 +9,36 @@ public class Instruction_ExecutableAspect extends Instruction_UtilitesAspect { public static void execute(final Instruction _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext .getSelf(_self); - if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { - org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment) { + if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment) { org.gemoc.arduino.sequential.xarduino.aspects.ModuleAssignment_ExecutableAspect .execute((org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) { - org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { - org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.While) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.If) { - org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.If) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) { - org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableAssignment) { org.gemoc.arduino.sequential.xarduino.aspects.VariableAssignment_ExecutableAspect .execute((org.gemoc.arduino.sequential.xarduino.arduino.VariableAssignment) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Delay) { - org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspect - .execute((org.gemoc.arduino.sequential.xarduino.arduino.Delay) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Assignment) { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_execute(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Assignment) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Delay) { + org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.Delay) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Utilities) { org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspect .execute((org.gemoc.arduino.sequential.xarduino.arduino.Utilities) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) { + org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { + org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) { + org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { + org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.While) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.If) { + org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspect + .execute((org.gemoc.arduino.sequential.xarduino.arduino.If) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Control) { org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect .execute((org.gemoc.arduino.sequential.xarduino.arduino.Control) _self); @@ -53,40 +51,40 @@ public static void execute(final Instruction _self) { } ; } - + public static void finalize(final Instruction _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext .getSelf(_self); - if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { - org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect - .finalize((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment) { + if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment) { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) { - org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { - org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.While) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.If) { - org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.If) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) { - org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableAssignment) { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.VariableAssignment) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Delay) { - org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, - (org.gemoc.arduino.sequential.xarduino.arduino.Delay) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Assignment) { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Assignment) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Delay) { + org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.Delay) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Utilities) { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Utilities) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) { + org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Repeat) { + org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect + .finalize((org.gemoc.arduino.sequential.xarduino.arduino.Repeat) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) { + org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.While) { + org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.While) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.If) { + org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, + (org.gemoc.arduino.sequential.xarduino.arduino.If) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Control) { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Control) _self); @@ -99,10 +97,10 @@ public static void finalize(final Instruction _self) { } ; } - + protected static void _privk3_execute(final Instruction_ExecutableAspectInstructionAspectProperties _self_, final Instruction _self) { } - + protected static void _privk3_finalize(final Instruction_ExecutableAspectInstructionAspectProperties _self_, final Instruction _self) { } } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspectInstructionAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspectInstructionAspectContext.java index 17d23dbb..427a4ccb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspectInstructionAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_ExecutableAspectInstructionAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Instruction; @SuppressWarnings("all") public class Instruction_ExecutableAspectInstructionAspectContext { - public final static Instruction_ExecutableAspectInstructionAspectContext INSTANCE = new Instruction_ExecutableAspectInstructionAspectContext(); - + public static final Instruction_ExecutableAspectInstructionAspectContext INSTANCE = new Instruction_ExecutableAspectInstructionAspectContext(); + public static Instruction_ExecutableAspectInstructionAspectProperties getSelf(final Instruction _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspect.java index 6110ec54..784abf67 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspect.java @@ -4,7 +4,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspectInstructionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.AnalogPin; import org.gemoc.arduino.sequential.xarduino.arduino.ArduinoAnalogModule; import org.gemoc.arduino.sequential.xarduino.arduino.ArduinoBoard; @@ -27,7 +26,7 @@ private static Project getProject(final Instruction _self, final org.gemoc.ardui }; return (org.gemoc.arduino.sequential.xarduino.arduino.Project)result; } - + protected static Pin getPin(final Instruction _self, final org.gemoc.arduino.sequential.xarduino.arduino.Module module) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspectInstructionAspectContext.getSelf(_self); Object result = null; @@ -37,7 +36,7 @@ protected static Pin getPin(final Instruction _self, final org.gemoc.arduino.seq }; return (org.gemoc.arduino.sequential.xarduino.arduino.Pin)result; } - + protected static Project _privk3_getProject(final Instruction_UtilitesAspectInstructionAspectProperties _self_, final Instruction _self, final org.gemoc.arduino.sequential.xarduino.arduino.Module module) { Project project = null; EObject current = _self.eContainer(); @@ -52,7 +51,7 @@ protected static Project _privk3_getProject(final Instruction_UtilitesAspectInst } return project; } - + protected static Pin _privk3_getPin(final Instruction_UtilitesAspectInstructionAspectProperties _self_, final Instruction _self, final org.gemoc.arduino.sequential.xarduino.arduino.Module module) { Pin pin = null; final Project project = Instruction_UtilitesAspect.getProject(_self, module); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspectInstructionAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspectInstructionAspectContext.java index 7fb357a9..0d35d407 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspectInstructionAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Instruction_UtilitesAspectInstructionAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspectInstructionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Instruction; @SuppressWarnings("all") public class Instruction_UtilitesAspectInstructionAspectContext { - public final static Instruction_UtilitesAspectInstructionAspectContext INSTANCE = new Instruction_UtilitesAspectInstructionAspectContext(); - + public static final Instruction_UtilitesAspectInstructionAspectContext INSTANCE = new Instruction_UtilitesAspectInstructionAspectContext(); + public static Instruction_UtilitesAspectInstructionAspectProperties getSelf(final Instruction _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspectInstructionAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspect.java index 2d8f7c4e..e8097a13 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspectIntegerConstantAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant; @Aspect(className = IntegerConstant.class) @@ -18,12 +16,12 @@ public static Object evaluate(final IntegerConstant _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final IntegerConstant _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final IntegerConstant_ExecutableAspectIntegerConstantAspectProperties _self_, final IntegerConstant _self) { return Integer.valueOf(_self.getValue()); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspectIntegerConstantAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspectIntegerConstantAspectContext.java index e31e5e05..54b76ce5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspectIntegerConstantAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerConstant_ExecutableAspectIntegerConstantAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspectIntegerConstantAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerConstant; @SuppressWarnings("all") public class IntegerConstant_ExecutableAspectIntegerConstantAspectContext { - public final static IntegerConstant_ExecutableAspectIntegerConstantAspectContext INSTANCE = new IntegerConstant_ExecutableAspectIntegerConstantAspectContext(); - + public static final IntegerConstant_ExecutableAspectIntegerConstantAspectContext INSTANCE = new IntegerConstant_ExecutableAspectIntegerConstantAspectContext(); + public static IntegerConstant_ExecutableAspectIntegerConstantAspectProperties getSelf(final IntegerConstant _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspectIntegerConstantAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspect.java index 08159863..976be2ab 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspect.java @@ -5,11 +5,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import org.eclipse.emf.common.util.EList; import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BluetoothTransceiver; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerModuleGet; import org.gemoc.arduino.sequential.xarduino.arduino.Pin; @@ -26,12 +21,12 @@ public static Object evaluate(final IntegerModuleGet _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final IntegerModuleGet _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectProperties _self_, final IntegerModuleGet _self) { org.gemoc.arduino.sequential.xarduino.arduino.Module _module = _self.getModule(); if ((_module instanceof BluetoothTransceiver)) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext.java index ac58c3e6..a59469e8 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerModuleGet; @SuppressWarnings("all") public class IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext { - public final static IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext INSTANCE = new IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext(); - + public static final IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext INSTANCE = new IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectContext(); + public static IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectProperties getSelf(final IntegerModuleGet _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspectIntegerModuleGetAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspect.java index 4d136c4f..42b0c33b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable; @Aspect(className = IntegerVariable.class) @@ -18,7 +16,7 @@ public static Object evaluate(final IntegerVariable _self) { ; return (java.lang.Object) result; } - + public static Integer value(final IntegerVariable _self) { final org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectContext .getSelf(_self); @@ -27,18 +25,18 @@ public static Integer value(final IntegerVariable _self) { ; return (java.lang.Integer) result; } - + public static void value(final IntegerVariable _self, final Integer value) { final org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectContext .getSelf(_self); _privk3_value(_self_, _self, value); ; } - + protected static Object _privk3_evaluate(final IntegerVariable_EvaluableAspectIntegerVariableAspectProperties _self_, final IntegerVariable _self) { return IntegerVariable_EvaluableAspect.value(_self); } - + protected static Integer _privk3_value(final IntegerVariable_EvaluableAspectIntegerVariableAspectProperties _self_, final IntegerVariable _self) { try { for (java.lang.reflect.Method m : _self.getClass().getMethods()) { @@ -48,8 +46,8 @@ protected static Integer _privk3_value(final IntegerVariable_EvaluableAspectInte if (ret != null) { return (java.lang.Integer) ret; } else { - return null; - } + return null; + } } } } catch (Exception e) { @@ -57,7 +55,7 @@ protected static Integer _privk3_value(final IntegerVariable_EvaluableAspectInte } return _self_.value; } - + protected static void _privk3_value(final IntegerVariable_EvaluableAspectIntegerVariableAspectProperties _self_, final IntegerVariable _self, final Integer value) { boolean setterCalled = false; try { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspectIntegerVariableAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspectIntegerVariableAspectContext.java index f69df6a9..bf4b29a1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspectIntegerVariableAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/IntegerVariable_EvaluableAspectIntegerVariableAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable; @SuppressWarnings("all") public class IntegerVariable_EvaluableAspectIntegerVariableAspectContext { - public final static IntegerVariable_EvaluableAspectIntegerVariableAspectContext INSTANCE = new IntegerVariable_EvaluableAspectIntegerVariableAspectContext(); - + public static final IntegerVariable_EvaluableAspectIntegerVariableAspectContext INSTANCE = new IntegerVariable_EvaluableAspectIntegerVariableAspectContext(); + public static IntegerVariable_EvaluableAspectIntegerVariableAspectProperties getSelf(final IntegerVariable _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspectIntegerVariableAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspect.java index 3b2a3a75..4ad9d280 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspect.java @@ -3,12 +3,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import fr.inria.diverse.k3.al.annotationprocessor.Step; -import org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_UtilitesAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.ModuleAssignment_ExecutableAspectModuleAssignmentAspectProperties; -import org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect; import org.gemoc.arduino.sequential.xarduino.arduino.BluetoothTransceiver; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanExpression; import org.gemoc.arduino.sequential.xarduino.arduino.Expression; @@ -40,12 +34,12 @@ public void execute() { ; ; } - + private static void super_execute(final ModuleAssignment _self) { final org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspectModuleInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspectModuleInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final ModuleAssignment_ExecutableAspectModuleAssignmentAspectProperties _self_, final ModuleAssignment _self) { final Pin pin = Instruction_UtilitesAspect.getPin(_self, _self.getModule()); Expression _operand = _self.getOperand(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext.java index fdb36dc5..0a0e48a3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.ModuleAssignment_ExecutableAspectModuleAssignmentAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.ModuleAssignment; @SuppressWarnings("all") public class ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext { - public final static ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext INSTANCE = new ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext(); - + public static final ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext INSTANCE = new ModuleAssignment_ExecutableAspectModuleAssignmentAspectContext(); + public static ModuleAssignment_ExecutableAspectModuleAssignmentAspectProperties getSelf(final ModuleAssignment _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.ModuleAssignment_ExecutableAspectModuleAssignmentAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspect.java index baf8c259..3a9e8221 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspectModuleInstructionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction; @Aspect(className = ModuleInstruction.class) @@ -25,12 +23,12 @@ public static void execute(final ModuleInstruction _self) { } ; } - + private static void super_execute(final ModuleInstruction _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final ModuleInstruction_ExecutableAspectModuleInstructionAspectProperties _self_, final ModuleInstruction _self) { } } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspectModuleInstructionAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspectModuleInstructionAspectContext.java index 5879ccec..b98e1bae 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspectModuleInstructionAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/ModuleInstruction_ExecutableAspectModuleInstructionAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspectModuleInstructionAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.ModuleInstruction; @SuppressWarnings("all") public class ModuleInstruction_ExecutableAspectModuleInstructionAspectContext { - public final static ModuleInstruction_ExecutableAspectModuleInstructionAspectContext INSTANCE = new ModuleInstruction_ExecutableAspectModuleInstructionAspectContext(); - + public static final ModuleInstruction_ExecutableAspectModuleInstructionAspectContext INSTANCE = new ModuleInstruction_ExecutableAspectModuleInstructionAspectContext(); + public static ModuleInstruction_ExecutableAspectModuleInstructionAspectProperties getSelf(final ModuleInstruction _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspectModuleInstructionAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspect.java index cfabe7c9..eb4928c7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspect.java @@ -1,16 +1,15 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import fr.inria.diverse.k3.al.annotationprocessor.Aspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Pin; @Aspect(className = Pin.class) @SuppressWarnings("all") public class Pin_EvaluableAspect { - public final static Integer LOW = Integer.valueOf(0); - - public final static Integer HIGH = Integer.valueOf(1023); - + public static final Integer LOW = Integer.valueOf(0); + + public static final Integer HIGH = Integer.valueOf(1023); + public static Integer level(final Pin _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectContext .getSelf(_self); @@ -19,14 +18,14 @@ public static Integer level(final Pin _self) { ; return (java.lang.Integer) result; } - + public static void level(final Pin _self, final Integer level) { final org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectContext .getSelf(_self); _privk3_level(_self_, _self, level); ; } - + protected static Integer _privk3_level(final Pin_EvaluableAspectPinAspectProperties _self_, final Pin _self) { try { for (java.lang.reflect.Method m : _self.getClass().getMethods()) { @@ -36,8 +35,8 @@ protected static Integer _privk3_level(final Pin_EvaluableAspectPinAspectPropert if (ret != null) { return (java.lang.Integer) ret; } else { - return null; - } + return null; + } } } } catch (Exception e) { @@ -45,7 +44,7 @@ protected static Integer _privk3_level(final Pin_EvaluableAspectPinAspectPropert } return _self_.level; } - + protected static void _privk3_level(final Pin_EvaluableAspectPinAspectProperties _self_, final Pin _self, final Integer level) { boolean setterCalled = false; try { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectContext.java index 87492253..9fede405 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Pin; @SuppressWarnings("all") public class Pin_EvaluableAspectPinAspectContext { - public final static Pin_EvaluableAspectPinAspectContext INSTANCE = new Pin_EvaluableAspectPinAspectContext(); - + public static final Pin_EvaluableAspectPinAspectContext INSTANCE = new Pin_EvaluableAspectPinAspectContext(); + public static Pin_EvaluableAspectPinAspectProperties getSelf(final Pin _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspectPinAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectProperties.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectProperties.java index 55201364..aada8c97 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectProperties.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Pin_EvaluableAspectPinAspectProperties.java @@ -1,7 +1,5 @@ package org.gemoc.arduino.sequential.xarduino.aspects; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect; - @SuppressWarnings("all") public class Pin_EvaluableAspectPinAspectProperties { public Integer level = Pin_EvaluableAspect.LOW; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspect.java index 6adf5621..ad0e2be5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspect.java @@ -10,11 +10,6 @@ import org.eclipse.xtext.xbase.lib.InputOutput; import org.eclipse.xtext.xbase.lib.IteratorExtensions; import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; -import org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable; import org.gemoc.arduino.sequential.xarduino.arduino.Pin; @@ -30,7 +25,7 @@ public static void execute(final Project _self) { _privk3_execute(_self_, _self); ; } - + @Main public static void main(final Project _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectContext @@ -38,7 +33,7 @@ public static void main(final Project _self) { _privk3_main(_self_, _self); ; } - + @Step public static void setup(final Project _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectContext @@ -59,7 +54,7 @@ public void execute() { ; ; } - + @InitializeModel public static void initializeModel(final Project _self, final EList args) { final org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectContext.getSelf(_self); @@ -68,7 +63,7 @@ public static void initializeModel(final Project _self, final EList args org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspect._privk3_initializeModel(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Project)_self,args); }; } - + protected static void _privk3_execute(final Project_ExecutableAspectProjectAspectProperties _self_, final Project _self) { final EList sketches = _self.getSketches(); while (true) { @@ -78,14 +73,14 @@ protected static void _privk3_execute(final Project_ExecutableAspectProjectAspec sketches.forEach(_function); } } - + protected static void _privk3_main(final Project_ExecutableAspectProjectAspectProperties _self_, final Project _self) { final long start = System.nanoTime(); Project_ExecutableAspect.execute(_self); final long stop = System.nanoTime(); InputOutput.println(("time to execute " + Long.valueOf((stop - start)))); } - + protected static void _privk3_setup(final Project_ExecutableAspectProjectAspectProperties _self_, final Project _self) { final Procedure1 _function = (EObject o) -> { if ((o instanceof IntegerVariable)) { @@ -102,7 +97,7 @@ protected static void _privk3_setup(final Project_ExecutableAspectProjectAspectP }; IteratorExtensions.forEach(_self.eAllContents(), _function); } - + protected static void _privk3_initializeModel(final Project_ExecutableAspectProjectAspectProperties _self_, final Project _self, final EList args) { Project_ExecutableAspect.setup(_self); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspectProjectAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspectProjectAspectContext.java index 933fd2f7..147feadc 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspectProjectAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Project_ExecutableAspectProjectAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Project; @SuppressWarnings("all") public class Project_ExecutableAspectProjectAspectContext { - public final static Project_ExecutableAspectProjectAspectContext INSTANCE = new Project_ExecutableAspectProjectAspectContext(); - + public static final Project_ExecutableAspectProjectAspectContext INSTANCE = new Project_ExecutableAspectProjectAspectContext(); + public static Project_ExecutableAspectProjectAspectProperties getSelf(final Project _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspectProjectAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspect.java index 0cbc823e..3cb20b17 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Repeat; @Aspect(className = Repeat.class) @@ -18,7 +16,7 @@ public static Boolean evaluate(final Repeat _self) { ; return (java.lang.Boolean) result; } - + @OverrideAspectMethod public static void finalize(final Repeat _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectContext @@ -26,7 +24,7 @@ public static void finalize(final Repeat _self) { _privk3_finalize(_self_, _self); ; } - + private static Integer i(final Repeat _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectContext.getSelf(_self); Object result = null; @@ -36,7 +34,7 @@ private static Integer i(final Repeat _self) { }; return (java.lang.Integer)result; } - + private static void i(final Repeat _self, final Integer i) { final org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectContext.getSelf(_self); // #DispatchPointCut_before# void i(Integer) @@ -44,12 +42,12 @@ private static void i(final Repeat _self, final Integer i) { org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect._privk3_i(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Repeat)_self,i); }; } - + private static Boolean super_evaluate(final Repeat _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Boolean _privk3_evaluate(final Repeat_EvaluableAspectRepeatAspectProperties _self_, final Repeat _self) { Boolean resCond = Boolean.valueOf(false); Integer _i = Repeat_EvaluableAspect.i(_self); @@ -61,17 +59,17 @@ protected static Boolean _privk3_evaluate(final Repeat_EvaluableAspectRepeatAspe Repeat_EvaluableAspect.i(_self, Integer.valueOf(_plus)); return resCond; } - + private static void super_finalize(final Repeat _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_finalize(_self_, _self); } - + protected static void _privk3_finalize(final Repeat_EvaluableAspectRepeatAspectProperties _self_, final Repeat _self) { Repeat_EvaluableAspect.i(_self, Integer.valueOf(0)); return; } - + protected static Integer _privk3_i(final Repeat_EvaluableAspectRepeatAspectProperties _self_, final Repeat _self) { try { for (java.lang.reflect.Method m : _self.getClass().getMethods()) { @@ -81,8 +79,8 @@ protected static Integer _privk3_i(final Repeat_EvaluableAspectRepeatAspectPrope if (ret != null) { return (java.lang.Integer) ret; } else { - return null; - } + return null; + } } } } catch (Exception e) { @@ -90,7 +88,7 @@ protected static Integer _privk3_i(final Repeat_EvaluableAspectRepeatAspectPrope } return _self_.i; } - + protected static void _privk3_i(final Repeat_EvaluableAspectRepeatAspectProperties _self_, final Repeat _self, final Integer i) { boolean setterCalled = false; try { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspectRepeatAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspectRepeatAspectContext.java index f5064432..fba1a2be 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspectRepeatAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_EvaluableAspectRepeatAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Repeat; @SuppressWarnings("all") public class Repeat_EvaluableAspectRepeatAspectContext { - public final static Repeat_EvaluableAspectRepeatAspectContext INSTANCE = new Repeat_EvaluableAspectRepeatAspectContext(); - + public static final Repeat_EvaluableAspectRepeatAspectContext INSTANCE = new Repeat_EvaluableAspectRepeatAspectContext(); + public static Repeat_EvaluableAspectRepeatAspectProperties getSelf(final Repeat _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspectRepeatAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspect.java index a129387a..c5a54610 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspect.java @@ -3,11 +3,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import fr.inria.diverse.k3.al.annotationprocessor.Step; -import org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspectRepeatAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Repeat; @Aspect(className = Repeat.class) @@ -34,12 +29,12 @@ public void execute() { ; ; } - + private static void super_execute(final Repeat _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final Repeat_ExecutableAspectRepeatAspectProperties _self_, final Repeat _self) { while ((Control_EvaluableAspect.evaluate(_self)).booleanValue()) { Block_ExecutableAspect.execute(_self.getBlock()); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspectRepeatAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspectRepeatAspectContext.java index ade993cd..8108b833 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspectRepeatAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Repeat_ExecutableAspectRepeatAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspectRepeatAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Repeat; @SuppressWarnings("all") public class Repeat_ExecutableAspectRepeatAspectContext { - public final static Repeat_ExecutableAspectRepeatAspectContext INSTANCE = new Repeat_ExecutableAspectRepeatAspectContext(); - + public static final Repeat_ExecutableAspectRepeatAspectContext INSTANCE = new Repeat_ExecutableAspectRepeatAspectContext(); + public static Repeat_ExecutableAspectRepeatAspectProperties getSelf(final Repeat _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspectRepeatAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspect.java index 38e3f8e4..e5e3b0fa 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspect.java @@ -2,8 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspectUtilitiesAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Utilities; @Aspect(className = Utilities.class) @@ -25,12 +23,12 @@ public static void execute(final Utilities _self) { } ; } - + private static void super_execute(final Utilities _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final Utilities_ExecutableAspectUtilitiesAspectProperties _self_, final Utilities _self) { } } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspectUtilitiesAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspectUtilitiesAspectContext.java index c79f9960..30ea8f8e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspectUtilitiesAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Utilities_ExecutableAspectUtilitiesAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspectUtilitiesAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Utilities; @SuppressWarnings("all") public class Utilities_ExecutableAspectUtilitiesAspectContext { - public final static Utilities_ExecutableAspectUtilitiesAspectContext INSTANCE = new Utilities_ExecutableAspectUtilitiesAspectContext(); - + public static final Utilities_ExecutableAspectUtilitiesAspectContext INSTANCE = new Utilities_ExecutableAspectUtilitiesAspectContext(); + public static Utilities_ExecutableAspectUtilitiesAspectProperties getSelf(final Utilities _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspectUtilitiesAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspect.java index 738e94ee..12958d8c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspect.java @@ -3,11 +3,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import fr.inria.diverse.k3.al.annotationprocessor.Step; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.VariableAssignment_ExecutableAspectVariableAssignmentAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable; import org.gemoc.arduino.sequential.xarduino.arduino.Variable; @@ -37,12 +32,12 @@ public void execute() { ; ; } - + private static void super_execute(final VariableAssignment _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final VariableAssignment_ExecutableAspectVariableAssignmentAspectProperties _self_, final VariableAssignment _self) { final Variable variable = _self.getVariable(); final Object value = Expression_EvaluableAspect.evaluate(_self.getOperand()); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspectVariableAssignmentAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspectVariableAssignmentAspectContext.java index ae241a93..2c2221a9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspectVariableAssignmentAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableAssignment_ExecutableAspectVariableAssignmentAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.VariableAssignment_ExecutableAspectVariableAssignmentAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.VariableAssignment; @SuppressWarnings("all") public class VariableAssignment_ExecutableAspectVariableAssignmentAspectContext { - public final static VariableAssignment_ExecutableAspectVariableAssignmentAspectContext INSTANCE = new VariableAssignment_ExecutableAspectVariableAssignmentAspectContext(); - + public static final VariableAssignment_ExecutableAspectVariableAssignmentAspectContext INSTANCE = new VariableAssignment_ExecutableAspectVariableAssignmentAspectContext(); + public static VariableAssignment_ExecutableAspectVariableAssignmentAspectProperties getSelf(final VariableAssignment _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.VariableAssignment_ExecutableAspectVariableAssignmentAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspect.java index 70b9dc6c..85e25c1d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspect.java @@ -3,10 +3,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; import fr.inria.diverse.k3.al.annotationprocessor.Step; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspectVariableDeclarationAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable; import org.gemoc.arduino.sequential.xarduino.arduino.Variable; @@ -36,12 +32,12 @@ public void execute() { ; ; } - + private static void super_execute(final VariableDeclaration _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspectInstructionAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final VariableDeclaration_ExecutableAspectVariableDeclarationAspectProperties _self_, final VariableDeclaration _self) { Variable _variable = _self.getVariable(); boolean _matched = false; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext.java index 307e6a51..9c4e4903 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspectVariableDeclarationAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.VariableDeclaration; @SuppressWarnings("all") public class VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext { - public final static VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext INSTANCE = new VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext(); - + public static final VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext INSTANCE = new VariableDeclaration_ExecutableAspectVariableDeclarationAspectContext(); + public static VariableDeclaration_ExecutableAspectVariableDeclarationAspectProperties getSelf(final VariableDeclaration _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspectVariableDeclarationAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspect.java index 3a6eb5ec..1fbf0b76 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspect.java @@ -2,10 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspectVariableRefAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariableRef; import org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariableRef; import org.gemoc.arduino.sequential.xarduino.arduino.VariableRef; @@ -22,12 +18,12 @@ public static Object evaluate(final VariableRef _self) { ; return (java.lang.Object) result; } - + private static Object super_evaluate(final VariableRef _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspectExpressionAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Object _privk3_evaluate(final VariableRef_EvaluableAspectVariableRefAspectProperties _self_, final VariableRef _self) { boolean _matched = false; if (_self instanceof BooleanVariableRef) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspectVariableRefAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspectVariableRefAspectContext.java index 69b3625c..8dd50775 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspectVariableRefAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/VariableRef_EvaluableAspectVariableRefAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspectVariableRefAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.VariableRef; @SuppressWarnings("all") public class VariableRef_EvaluableAspectVariableRefAspectContext { - public final static VariableRef_EvaluableAspectVariableRefAspectContext INSTANCE = new VariableRef_EvaluableAspectVariableRefAspectContext(); - + public static final VariableRef_EvaluableAspectVariableRefAspectContext INSTANCE = new VariableRef_EvaluableAspectVariableRefAspectContext(); + public static VariableRef_EvaluableAspectVariableRefAspectProperties getSelf(final VariableRef _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspectVariableRefAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspect.java index e8222f1c..ff48b69f 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspect.java @@ -2,7 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Abstract; import fr.inria.diverse.k3.al.annotationprocessor.Aspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspectVariableAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Variable; @Aspect(className = Variable.class) @@ -13,12 +12,12 @@ public static Object evaluate(final Variable _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspectVariableAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspectVariableAspectContext .getSelf(_self); Object result = null; - if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable) { - result = org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect - .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable) _self); - } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable) { + if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable) { result = org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.IntegerVariable) _self); + } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable) { + result = org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect + .evaluate((org.gemoc.arduino.sequential.xarduino.arduino.BooleanVariable) _self); } else if (_self instanceof org.gemoc.arduino.sequential.xarduino.arduino.Variable) { result = org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspect._privk3_evaluate(_self_, (org.gemoc.arduino.sequential.xarduino.arduino.Variable) _self); @@ -29,7 +28,7 @@ public static Object evaluate(final Variable _self) { ; return (java.lang.Object) result; } - + protected static Object _privk3_evaluate(final Variable_EvaluableAspectVariableAspectProperties _self_, final Variable _self) { throw new java.lang.RuntimeException("Not implemented"); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspectVariableAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspectVariableAspectContext.java index 01c18328..05252add 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspectVariableAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/Variable_EvaluableAspectVariableAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspectVariableAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.Variable; @SuppressWarnings("all") public class Variable_EvaluableAspectVariableAspectContext { - public final static Variable_EvaluableAspectVariableAspectContext INSTANCE = new Variable_EvaluableAspectVariableAspectContext(); - + public static final Variable_EvaluableAspectVariableAspectContext INSTANCE = new Variable_EvaluableAspectVariableAspectContext(); + public static Variable_EvaluableAspectVariableAspectProperties getSelf(final Variable _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspectVariableAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspect.java index 39d30aed..23d7c114 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspect.java @@ -2,9 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.While_EvaluableAspectWhileAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.While; @Aspect(className = While.class) @@ -19,12 +16,12 @@ public static Boolean evaluate(final While _self) { ; return (java.lang.Boolean) result; } - + private static Boolean super_evaluate(final While _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspectControlAspectContext.getSelf(_self); return org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect._privk3_evaluate(_self_, _self); } - + protected static Boolean _privk3_evaluate(final While_EvaluableAspectWhileAspectProperties _self_, final While _self) { Object _evaluate = Expression_EvaluableAspect.evaluate(_self.getCondition()); Boolean resCond = ((Boolean) _evaluate); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspectWhileAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspectWhileAspectContext.java index 29bee8bb..e6164c26 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspectWhileAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_EvaluableAspectWhileAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.While_EvaluableAspectWhileAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.While; @SuppressWarnings("all") public class While_EvaluableAspectWhileAspectContext { - public final static While_EvaluableAspectWhileAspectContext INSTANCE = new While_EvaluableAspectWhileAspectContext(); - + public static final While_EvaluableAspectWhileAspectContext INSTANCE = new While_EvaluableAspectWhileAspectContext(); + public static While_EvaluableAspectWhileAspectProperties getSelf(final While _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.While_EvaluableAspectWhileAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspect.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspect.java index 2697b2a5..0d2d5e5d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspect.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspect.java @@ -2,10 +2,6 @@ import fr.inria.diverse.k3.al.annotationprocessor.Aspect; import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod; -import org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect; -import org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspectWhileAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.While; @Aspect(className = While.class) @@ -18,12 +14,12 @@ public static void execute(final While _self) { _privk3_execute(_self_, _self); ; } - + private static void super_execute(final While _self) { final org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectProperties _self_ = org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspectControlAspectContext.getSelf(_self); org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect._privk3_execute(_self_, _self); } - + protected static void _privk3_execute(final While_ExecutableAspectWhileAspectProperties _self_, final While _self) { while ((Control_EvaluableAspect.evaluate(_self)).booleanValue()) { Block_ExecutableAspect.execute(_self.getBlock()); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspectWhileAspectContext.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspectWhileAspectContext.java index 84df1e9e..65de4ff4 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspectWhileAspectContext.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src-gen/org/gemoc/arduino/sequential/xarduino/aspects/While_ExecutableAspectWhileAspectContext.java @@ -1,21 +1,20 @@ package org.gemoc.arduino.sequential.xarduino.aspects; import java.util.Map; -import org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspectWhileAspectProperties; import org.gemoc.arduino.sequential.xarduino.arduino.While; @SuppressWarnings("all") public class While_ExecutableAspectWhileAspectContext { - public final static While_ExecutableAspectWhileAspectContext INSTANCE = new While_ExecutableAspectWhileAspectContext(); - + public static final While_ExecutableAspectWhileAspectContext INSTANCE = new While_ExecutableAspectWhileAspectContext(); + public static While_ExecutableAspectWhileAspectProperties getSelf(final While _self) { if (!INSTANCE.map.containsKey(_self)) INSTANCE.map.put(_self, new org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspectWhileAspectProperties()); return INSTANCE.map.get(_self); } - + private Map map = new java.util.WeakHashMap(); - + public Map getMap() { return map; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/AnalogPin.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/AnalogPin.java index a8f44d20..b5fa70e0 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/AnalogPin.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/AnalogPin.java @@ -23,10 +23,6 @@ public interface AnalogPin extends Pin { /** * Returns the value of the 'Module' containment reference. * - *

- * If the meaning of the 'Module' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Module' containment reference. * @see #setModule(ArduinoAnalogModule) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoBoard.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoBoard.java index 44557ce2..5e97c267 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoBoard.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoBoard.java @@ -26,10 +26,6 @@ public interface ArduinoBoard extends Board { * Returns the value of the 'Digital Pins' containment reference list. * The list contents are of type {@link org.gemoc.arduino.sequential.xarduino.arduino.DigitalPin}. * - *

- * If the meaning of the 'Digital Pins' containment reference list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Digital Pins' containment reference list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getArduinoBoard_DigitalPins() @@ -42,10 +38,6 @@ public interface ArduinoBoard extends Board { * Returns the value of the 'Analog Pins' containment reference list. * The list contents are of type {@link org.gemoc.arduino.sequential.xarduino.arduino.AnalogPin}. * - *

- * If the meaning of the 'Analog Pins' containment reference list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Analog Pins' containment reference list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getArduinoBoard_AnalogPins() diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoCommunicationModule.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoCommunicationModule.java index 00fbba15..5f5db021 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoCommunicationModule.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoCommunicationModule.java @@ -17,7 +17,7 @@ public interface ArduinoCommunicationModule extends ArduinoDigitalModule { /** * * - * @model + * @model annotation="aspect" * @generated */ void push(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoPackage.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoPackage.java index 659aa14d..d3dfd8e3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoPackage.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ArduinoPackage.java @@ -3135,6 +3135,7 @@ public interface ArduinoPackage extends EPackage { * @return the meta object for data type 'Object'. * @see java.lang.Object * @model instanceClass="java.lang.Object" + * annotation="aspect" * @generated */ EDataType getObject(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Assignment.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Assignment.java index 3525af76..59b8237b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Assignment.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Assignment.java @@ -23,10 +23,6 @@ public interface Assignment extends Instruction { /** * Returns the value of the 'Operand' containment reference. * - *

- * If the meaning of the 'Operand' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Operand' containment reference. * @see #setOperand(Expression) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanExpression.java index 8cbd0a99..24d7e4b3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanExpression.java @@ -24,10 +24,6 @@ public interface BinaryBooleanExpression extends BinaryExpression, BooleanExpres * Returns the value of the 'Operator' attribute. * The literals are from the enumeration {@link org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanOperatorKind}. * - *

- * If the meaning of the 'Operator' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Operator' attribute. * @see org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanOperatorKind @@ -53,6 +49,7 @@ public interface BinaryBooleanExpression extends BinaryExpression, BooleanExpres * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanOperatorKind.java index 99bd63b6..5542eb54 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryBooleanOperatorKind.java @@ -101,10 +101,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Inf' literal value. * - *

- * If the meaning of 'Inf' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #INF * @model name="inf" @@ -116,10 +112,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Sup' literal value. * - *

- * If the meaning of 'Sup' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #SUP * @model name="sup" @@ -131,10 +123,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Inf Or Equal' literal value. * - *

- * If the meaning of 'Inf Or Equal' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #INF_OR_EQUAL * @model name="infOrEqual" @@ -146,10 +134,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Sup Or Equal' literal value. * - *

- * If the meaning of 'Sup Or Equal' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #SUP_OR_EQUAL * @model name="supOrEqual" @@ -161,10 +145,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Equal' literal value. * - *

- * If the meaning of 'Equal' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #EQUAL * @model name="equal" @@ -176,10 +156,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'And' literal value. * - *

- * If the meaning of 'And' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #AND * @model name="and" @@ -191,10 +167,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Or' literal value. * - *

- * If the meaning of 'Or' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #OR * @model name="or" @@ -206,10 +178,6 @@ public enum BinaryBooleanOperatorKind implements Enumerator { /** * The 'Different' literal value. * - *

- * If the meaning of 'Different' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #DIFFERENT * @model name="Different" @@ -340,6 +308,7 @@ private BinaryBooleanOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -349,6 +318,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -358,6 +328,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryExpression.java index 73048335..12337e08 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryExpression.java @@ -24,10 +24,6 @@ public interface BinaryExpression extends Expression { /** * Returns the value of the 'Left' containment reference. * - *

- * If the meaning of the 'Left' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Left' containment reference. * @see #setLeft(Expression) @@ -50,10 +46,6 @@ public interface BinaryExpression extends Expression { /** * Returns the value of the 'Right' containment reference. * - *

- * If the meaning of the 'Right' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Right' containment reference. * @see #setRight(Expression) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerExpression.java index 2fce341c..a1d1a6a9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerExpression.java @@ -24,10 +24,6 @@ public interface BinaryIntegerExpression extends BinaryExpression, IntegerExpres * Returns the value of the 'Operator' attribute. * The literals are from the enumeration {@link org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerOperatorKind}. * - *

- * If the meaning of the 'Operator' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Operator' attribute. * @see org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerOperatorKind @@ -53,6 +49,7 @@ public interface BinaryIntegerExpression extends BinaryExpression, IntegerExpres * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerOperatorKind.java index 7e84dd23..a23e4b8d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BinaryIntegerOperatorKind.java @@ -91,10 +91,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Minus' literal value. * - *

- * If the meaning of 'Minus' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MINUS * @model name="minus" @@ -106,10 +102,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Plus' literal value. * - *

- * If the meaning of 'Plus' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #PLUS * @model name="plus" @@ -121,10 +113,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Mul' literal value. * - *

- * If the meaning of 'Mul' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MUL * @model name="mul" @@ -136,10 +124,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Div' literal value. * - *

- * If the meaning of 'Div' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #DIV * @model name="div" @@ -151,10 +135,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Min' literal value. * - *

- * If the meaning of 'Min' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MIN * @model name="min" @@ -166,10 +146,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Max' literal value. * - *

- * If the meaning of 'Max' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MAX * @model name="max" @@ -181,10 +157,6 @@ public enum BinaryIntegerOperatorKind implements Enumerator { /** * The 'Pourcent' literal value. * - *

- * If the meaning of 'Pourcent' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #POURCENT * @model name="pourcent" @@ -313,6 +285,7 @@ private BinaryIntegerOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -322,6 +295,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -331,6 +305,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Block.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Block.java index 95e69811..873f5cdd 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Block.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Block.java @@ -27,10 +27,6 @@ public interface Block extends EObject { * Returns the value of the 'Instructions' containment reference list. * The list contents are of type {@link org.gemoc.arduino.sequential.xarduino.arduino.Instruction}. * - *

- * If the meaning of the 'Instructions' containment reference list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Instructions' containment reference list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getBlock_Instructions() @@ -42,7 +38,7 @@ public interface Block extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BluetoothTransceiver.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BluetoothTransceiver.java index b677feb3..5783ffc9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BluetoothTransceiver.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BluetoothTransceiver.java @@ -27,10 +27,6 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { * Returns the value of the 'Connected Transceiver' reference list. * The list contents are of type {@link org.gemoc.arduino.sequential.xarduino.arduino.BluetoothTransceiver}. * - *

- * If the meaning of the 'Connected Transceiver' reference list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Connected Transceiver' reference list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getBluetoothTransceiver_ConnectedTransceiver() @@ -43,14 +39,11 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { * Returns the value of the 'Data To Send' attribute list. * The list contents are of type {@link java.lang.Integer}. * - *

- * If the meaning of the 'Data To Send' attribute list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Data To Send' attribute list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getBluetoothTransceiver_DataToSend() * @model unique="false" + * annotation="aspect" * @generated */ EList getDataToSend(); @@ -59,14 +52,11 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { * Returns the value of the 'Data Received' attribute list. * The list contents are of type {@link java.lang.Integer}. * - *

- * If the meaning of the 'Data Received' attribute list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Data Received' attribute list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getBluetoothTransceiver_DataReceived() * @model unique="false" + * annotation="aspect" * @generated */ EList getDataReceived(); @@ -74,7 +64,7 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { /** * * - * @model + * @model annotation="aspect" * @generated */ void push(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Board.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Board.java index a61231af..f9b2bb55 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Board.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Board.java @@ -24,10 +24,6 @@ public interface Board extends NamedElement { * Returns the value of the 'Project' container reference. * It is bidirectional and its opposite is '{@link org.gemoc.arduino.sequential.xarduino.arduino.Project#getBoards Boards}'. * - *

- * If the meaning of the 'Project' container reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Project' container reference. * @see #setProject(Project) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanConstant.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanConstant.java index 6a26e290..2f773174 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanConstant.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanConstant.java @@ -24,10 +24,6 @@ public interface BooleanConstant extends Constant, BooleanExpression { * Returns the value of the 'Value' attribute. * The default value is "false". * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Value' attribute. * @see #setValue(boolean) @@ -51,6 +47,7 @@ public interface BooleanConstant extends Constant, BooleanExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanModuleGet.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanModuleGet.java index a68bedce..0e8fcb83 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanModuleGet.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanModuleGet.java @@ -18,6 +18,7 @@ public interface BooleanModuleGet extends ModuleGet, BooleanExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariable.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariable.java index f61fd691..507235e9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariable.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariable.java @@ -25,10 +25,6 @@ public interface BooleanVariable extends Variable { * Returns the value of the 'Initial Value' attribute. * The default value is "false". * - *

- * If the meaning of the 'Initial Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Initial Value' attribute. * @see #setInitialValue(boolean) @@ -51,15 +47,12 @@ public interface BooleanVariable extends Variable { /** * Returns the value of the 'Value' attribute. * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Value' attribute. * @see #setValue(Boolean) * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getBooleanVariable_Value() * @model unique="false" + * annotation="aspect" * @generated */ Boolean getValue(); @@ -78,6 +71,7 @@ public interface BooleanVariable extends Variable { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariableRef.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariableRef.java index 493f7af3..9c1d886a 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariableRef.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/BooleanVariableRef.java @@ -23,10 +23,6 @@ public interface BooleanVariableRef extends VariableRef, BooleanExpression { /** * Returns the value of the 'Variable' reference. * - *

- * If the meaning of the 'Variable' reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Variable' reference. * @see #setVariable(BooleanVariable) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Color.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Color.java index 96365564..cf1d8356 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Color.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Color.java @@ -51,10 +51,6 @@ public enum Color implements Enumerator { /** * The 'Blue' literal value. * - *

- * If the meaning of 'Blue' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #BLUE * @model name="blue" @@ -66,10 +62,6 @@ public enum Color implements Enumerator { /** * The 'Red' literal value. * - *

- * If the meaning of 'Red' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #RED * @model name="red" @@ -81,10 +73,6 @@ public enum Color implements Enumerator { /** * The 'White' literal value. * - *

- * If the meaning of 'White' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #WHITE * @model name="white" @@ -205,6 +193,7 @@ private Color(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -214,6 +203,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -223,6 +213,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Constant.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Constant.java index 05db8cb5..c100b7fb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Constant.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Constant.java @@ -18,6 +18,7 @@ public interface Constant extends Expression { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Control.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Control.java index 6471c801..c696e303 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Control.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Control.java @@ -23,10 +23,6 @@ public interface Control extends Instruction { /** * Returns the value of the 'Block' containment reference. * - *

- * If the meaning of the 'Block' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Block' containment reference. * @see #setBlock(Block) @@ -49,7 +45,7 @@ public interface Control extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -57,7 +53,7 @@ public interface Control extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Delay.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Delay.java index 18ecc5b2..ad56c055 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Delay.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Delay.java @@ -25,10 +25,6 @@ public interface Delay extends Utilities { * Returns the value of the 'Unit' attribute. * The literals are from the enumeration {@link org.gemoc.arduino.sequential.xarduino.arduino.Time}. * - *

- * If the meaning of the 'Unit' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Unit' attribute. * @see org.gemoc.arduino.sequential.xarduino.arduino.Time @@ -53,10 +49,6 @@ public interface Delay extends Utilities { /** * Returns the value of the 'Value' attribute. * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Value' attribute. * @see #setValue(int) @@ -79,7 +71,7 @@ public interface Delay extends Utilities { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/DigitalPin.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/DigitalPin.java index 40b4ed10..03e60061 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/DigitalPin.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/DigitalPin.java @@ -23,10 +23,6 @@ public interface DigitalPin extends Pin { /** * Returns the value of the 'Module' containment reference. * - *

- * If the meaning of the 'Module' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Module' containment reference. * @see #setModule(ArduinoDigitalModule) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Expression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Expression.java index d0e18d6f..4eef3ba6 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Expression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Expression.java @@ -19,6 +19,7 @@ public interface Expression extends EObject { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/If.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/If.java index e5361f31..dd81db86 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/If.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/If.java @@ -24,10 +24,6 @@ public interface If extends Control { /** * Returns the value of the 'Condition' containment reference. * - *

- * If the meaning of the 'Condition' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Condition' containment reference. * @see #setCondition(BooleanExpression) @@ -50,10 +46,6 @@ public interface If extends Control { /** * Returns the value of the 'Else Block' containment reference. * - *

- * If the meaning of the 'Else Block' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Else Block' containment reference. * @see #setElseBlock(Block) @@ -76,7 +68,7 @@ public interface If extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -84,7 +76,7 @@ public interface If extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Instruction.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Instruction.java index 793d2c63..a2b549d4 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Instruction.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Instruction.java @@ -18,7 +18,7 @@ public interface Instruction extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); @@ -26,7 +26,7 @@ public interface Instruction extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void finalize(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerConstant.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerConstant.java index 650c7782..4e60ddab 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerConstant.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerConstant.java @@ -24,10 +24,6 @@ public interface IntegerConstant extends Constant, IntegerExpression { * Returns the value of the 'Value' attribute. * The default value is "0". * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Value' attribute. * @see #setValue(int) @@ -51,6 +47,7 @@ public interface IntegerConstant extends Constant, IntegerExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerModuleGet.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerModuleGet.java index 8bd29bbb..4ebc8d48 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerModuleGet.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerModuleGet.java @@ -18,6 +18,7 @@ public interface IntegerModuleGet extends ModuleGet, IntegerExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariable.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariable.java index 79f72ef5..fffb5b69 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariable.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariable.java @@ -25,10 +25,6 @@ public interface IntegerVariable extends Variable { * Returns the value of the 'Initial Value' attribute. * The default value is "0". * - *

- * If the meaning of the 'Initial Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Initial Value' attribute. * @see #setInitialValue(int) @@ -51,15 +47,12 @@ public interface IntegerVariable extends Variable { /** * Returns the value of the 'Value' attribute. * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Value' attribute. * @see #setValue(Integer) * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getIntegerVariable_Value() * @model unique="false" + * annotation="aspect" * @generated */ Integer getValue(); @@ -78,6 +71,7 @@ public interface IntegerVariable extends Variable { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariableRef.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariableRef.java index c10c691f..4cc28e72 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariableRef.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/IntegerVariableRef.java @@ -23,10 +23,6 @@ public interface IntegerVariableRef extends VariableRef, IntegerExpression { /** * Returns the value of the 'Variable' reference. * - *

- * If the meaning of the 'Variable' reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Variable' reference. * @see #setVariable(IntegerVariable) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/LED.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/LED.java index 9af6d406..2ed27eb6 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/LED.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/LED.java @@ -25,10 +25,6 @@ public interface LED extends ArduinoDigitalModule { * The default value is "blue". * The literals are from the enumeration {@link org.gemoc.arduino.sequential.xarduino.arduino.Color}. * - *

- * If the meaning of the 'Color' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Color' attribute. * @see org.gemoc.arduino.sequential.xarduino.arduino.Color diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleAssignment.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleAssignment.java index 105f8b6f..0033f3a1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleAssignment.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleAssignment.java @@ -17,7 +17,7 @@ public interface ModuleAssignment extends ModuleInstruction, Assignment { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleGet.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleGet.java index f3cb6284..0b93cac2 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleGet.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleGet.java @@ -23,10 +23,6 @@ public interface ModuleGet extends Expression { /** * Returns the value of the 'Module' reference. * - *

- * If the meaning of the 'Module' reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Module' reference. * @see #setModule(org.gemoc.arduino.sequential.xarduino.arduino.Module) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleInstruction.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleInstruction.java index 4d8dc537..4f70f2b3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleInstruction.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/ModuleInstruction.java @@ -23,10 +23,6 @@ public interface ModuleInstruction extends Instruction { /** * Returns the value of the 'Module' reference. * - *

- * If the meaning of the 'Module' reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Module' reference. * @see #setModule(org.gemoc.arduino.sequential.xarduino.arduino.Module) @@ -49,7 +45,7 @@ public interface ModuleInstruction extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/NamedElement.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/NamedElement.java index 0900b914..9781b040 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/NamedElement.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/NamedElement.java @@ -24,10 +24,6 @@ public interface NamedElement extends EObject { /** * Returns the value of the 'Name' attribute. * - *

- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Name' attribute. * @see #setName(String) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Pin.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Pin.java index 4658bb4e..44eb8b3a 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Pin.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Pin.java @@ -23,15 +23,12 @@ public interface Pin extends NamedElement { /** * Returns the value of the 'Level' attribute. * - *

- * If the meaning of the 'Level' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Level' attribute. * @see #setLevel(Integer) * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getPin_Level() * @model unique="false" + * annotation="aspect" * @generated */ Integer getLevel(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Project.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Project.java index 6130aa48..96865e24 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Project.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Project.java @@ -29,10 +29,6 @@ public interface Project extends EObject { * The list contents are of type {@link org.gemoc.arduino.sequential.xarduino.arduino.Board}. * It is bidirectional and its opposite is '{@link org.gemoc.arduino.sequential.xarduino.arduino.Board#getProject Project}'. * - *

- * If the meaning of the 'Boards' containment reference list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Boards' containment reference list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getProject_Boards() @@ -47,10 +43,6 @@ public interface Project extends EObject { * The list contents are of type {@link org.gemoc.arduino.sequential.xarduino.arduino.Sketch}. * It is bidirectional and its opposite is '{@link org.gemoc.arduino.sequential.xarduino.arduino.Sketch#getProject Project}'. * - *

- * If the meaning of the 'Sketches' containment reference list isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Sketches' containment reference list. * @see org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage#getProject_Sketches() @@ -63,7 +55,7 @@ public interface Project extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); @@ -71,7 +63,7 @@ public interface Project extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void main(); @@ -79,7 +71,7 @@ public interface Project extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void setup(); @@ -88,6 +80,7 @@ public interface Project extends EObject { * * * @model argsMany="true" + * annotation="aspect" * @generated */ void initializeModel(EList args); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Repeat.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Repeat.java index 6e54a82b..6c2ab4ee 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Repeat.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Repeat.java @@ -24,10 +24,6 @@ public interface Repeat extends Control { * Returns the value of the 'Iteration' attribute. * The default value is "5". * - *

- * If the meaning of the 'Iteration' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Iteration' attribute. * @see #setIteration(int) @@ -50,7 +46,7 @@ public interface Repeat extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); @@ -58,7 +54,7 @@ public interface Repeat extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -66,7 +62,7 @@ public interface Repeat extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void finalize(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Sketch.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Sketch.java index 5dbb22f0..07a9f94e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Sketch.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Sketch.java @@ -26,10 +26,6 @@ public interface Sketch extends NamedElement { * Returns the value of the 'Project' container reference. * It is bidirectional and its opposite is '{@link org.gemoc.arduino.sequential.xarduino.arduino.Project#getSketches Sketches}'. * - *

- * If the meaning of the 'Project' container reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Project' container reference. * @see #setProject(Project) @@ -53,10 +49,6 @@ public interface Sketch extends NamedElement { /** * Returns the value of the 'Block' containment reference. * - *

- * If the meaning of the 'Block' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Block' containment reference. * @see #setBlock(Block) @@ -79,10 +71,6 @@ public interface Sketch extends NamedElement { /** * Returns the value of the 'Board' reference. * - *

- * If the meaning of the 'Board' reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Board' reference. * @see #setBoard(Board) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Time.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Time.java index e16540a3..b03f6827 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Time.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Time.java @@ -41,10 +41,6 @@ public enum Time implements Enumerator { /** * The 'Milli Second' literal value. * - *

- * If the meaning of 'Milli Second' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MILLI_SECOND * @model name="MilliSecond" @@ -56,10 +52,6 @@ public enum Time implements Enumerator { /** * The 'Micro Second' literal value. * - *

- * If the meaning of 'Micro Second' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MICRO_SECOND * @model name="MicroSecond" @@ -177,6 +169,7 @@ private Time(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -186,6 +179,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -195,6 +189,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanExpression.java index 95cdb1ea..b86426b0 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanExpression.java @@ -24,10 +24,6 @@ public interface UnaryBooleanExpression extends UnaryExpression, BooleanExpressi * Returns the value of the 'Operator' attribute. * The literals are from the enumeration {@link org.gemoc.arduino.sequential.xarduino.arduino.UnaryBooleanOperatorKind}. * - *

- * If the meaning of the 'Operator' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Operator' attribute. * @see org.gemoc.arduino.sequential.xarduino.arduino.UnaryBooleanOperatorKind diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanOperatorKind.java index 7827cbee..019a10fc 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryBooleanOperatorKind.java @@ -31,10 +31,6 @@ public enum UnaryBooleanOperatorKind implements Enumerator { /** * The 'Not' literal value. * - *

- * If the meaning of 'Not' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #NOT * @model name="not" @@ -151,6 +147,7 @@ private UnaryBooleanOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -160,6 +157,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -169,6 +167,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryExpression.java index fcaf2840..1c0ea061 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryExpression.java @@ -23,10 +23,6 @@ public interface UnaryExpression extends Expression { /** * Returns the value of the 'Operand' containment reference. * - *

- * If the meaning of the 'Operand' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Operand' containment reference. * @see #setOperand(Expression) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerExpression.java index 5d5c7dc6..e7e6158b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerExpression.java @@ -24,10 +24,6 @@ public interface UnaryIntegerExpression extends UnaryExpression, IntegerExpressi * Returns the value of the 'Operator' attribute. * The literals are from the enumeration {@link org.gemoc.arduino.sequential.xarduino.arduino.UnaryIntegerOperatorKind}. * - *

- * If the meaning of the 'Operator' attribute isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Operator' attribute. * @see org.gemoc.arduino.sequential.xarduino.arduino.UnaryIntegerOperatorKind diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerOperatorKind.java index f71527fc..674f6123 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/UnaryIntegerOperatorKind.java @@ -41,10 +41,6 @@ public enum UnaryIntegerOperatorKind implements Enumerator { /** * The 'Minus' literal value. * - *

- * If the meaning of 'Minus' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #MINUS * @model name="minus" @@ -56,10 +52,6 @@ public enum UnaryIntegerOperatorKind implements Enumerator { /** * The 'Square Root' literal value. * - *

- * If the meaning of 'Square Root' literal object isn't clear, - * there really should be more of a description here... - *

* * @see #SQUARE_ROOT * @model name="squareRoot" @@ -178,6 +170,7 @@ private UnaryIntegerOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -187,6 +180,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -196,6 +190,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Utilities.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Utilities.java index 27a81892..745a2bd5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Utilities.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Utilities.java @@ -17,7 +17,7 @@ public interface Utilities extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Variable.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Variable.java index 4d3756e9..39d8109c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Variable.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/Variable.java @@ -18,6 +18,7 @@ public interface Variable extends NamedElement { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableAssignment.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableAssignment.java index c31767f1..ab4ff547 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableAssignment.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableAssignment.java @@ -23,10 +23,6 @@ public interface VariableAssignment extends Instruction, Assignment { /** * Returns the value of the 'Variable' reference. * - *

- * If the meaning of the 'Variable' reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Variable' reference. * @see #setVariable(Variable) @@ -49,7 +45,7 @@ public interface VariableAssignment extends Instruction, Assignment { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableDeclaration.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableDeclaration.java index 01be5840..192226fe 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableDeclaration.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableDeclaration.java @@ -23,10 +23,6 @@ public interface VariableDeclaration extends Instruction { /** * Returns the value of the 'Variable' containment reference. * - *

- * If the meaning of the 'Variable' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Variable' containment reference. * @see #setVariable(Variable) @@ -49,7 +45,7 @@ public interface VariableDeclaration extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableRef.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableRef.java index 078bab1d..57564cc3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableRef.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/VariableRef.java @@ -18,6 +18,7 @@ public interface VariableRef extends Expression { * * * @model dataType="org.gemoc.arduino.sequential.xarduino.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/While.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/While.java index e6b6d5a4..d8e81cf7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/While.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/While.java @@ -23,10 +23,6 @@ public interface While extends Control { /** * Returns the value of the 'Condition' containment reference. * - *

- * If the meaning of the 'Condition' containment reference isn't clear, - * there really should be more of a description here... - *

* * @return the value of the 'Condition' containment reference. * @see #setCondition(BooleanExpression) @@ -49,7 +45,7 @@ public interface While extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -57,7 +53,7 @@ public interface While extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AnalogPinImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AnalogPinImpl.java index 05b4bcce..7ec7dbc0 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AnalogPinImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AnalogPinImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public ArduinoAnalogModule getModule() { return module; } @@ -86,6 +87,7 @@ public NotificationChain basicSetModule(ArduinoAnalogModule newModule, Notificat * * @generated */ + @Override public void setModule(ArduinoAnalogModule newModule) { if (newModule != module) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoBoardImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoBoardImpl.java index 4f0bed5e..93888dcd 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoBoardImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoBoardImpl.java @@ -78,6 +78,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public EList getDigitalPins() { if (digitalPins == null) { digitalPins = new EObjectContainmentEList(DigitalPin.class, this, ArduinoPackage.ARDUINO_BOARD__DIGITAL_PINS); @@ -90,6 +91,7 @@ public EList getDigitalPins() { * * @generated */ + @Override public EList getAnalogPins() { if (analogPins == null) { analogPins = new EObjectContainmentEList(AnalogPin.class, this, ArduinoPackage.ARDUINO_BOARD__ANALOG_PINS); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoCommunicationModuleImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoCommunicationModuleImpl.java index db95a1b2..50d4ba9e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoCommunicationModuleImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoCommunicationModuleImpl.java @@ -39,6 +39,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public void push() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoFactoryImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoFactoryImpl.java index eb6f821b..a7d54d87 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoFactoryImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoFactoryImpl.java @@ -200,6 +200,7 @@ public String convertToString(EDataType eDataType, Object instanceValue) { * * @generated */ + @Override public DigitalPin createDigitalPin() { DigitalPinImpl digitalPin = new DigitalPinImpl(); return digitalPin; @@ -210,6 +211,7 @@ public DigitalPin createDigitalPin() { * * @generated */ + @Override public AnalogPin createAnalogPin() { AnalogPinImpl analogPin = new AnalogPinImpl(); return analogPin; @@ -220,6 +222,7 @@ public AnalogPin createAnalogPin() { * * @generated */ + @Override public Sketch createSketch() { SketchImpl sketch = new SketchImpl(); return sketch; @@ -230,6 +233,7 @@ public Sketch createSketch() { * * @generated */ + @Override public Project createProject() { ProjectImpl project = new ProjectImpl(); return project; @@ -240,6 +244,7 @@ public Project createProject() { * * @generated */ + @Override public ModuleAssignment createModuleAssignment() { ModuleAssignmentImpl moduleAssignment = new ModuleAssignmentImpl(); return moduleAssignment; @@ -250,6 +255,7 @@ public ModuleAssignment createModuleAssignment() { * * @generated */ + @Override public Delay createDelay() { DelayImpl delay = new DelayImpl(); return delay; @@ -260,6 +266,7 @@ public Delay createDelay() { * * @generated */ + @Override public Repeat createRepeat() { RepeatImpl repeat = new RepeatImpl(); return repeat; @@ -270,6 +277,7 @@ public Repeat createRepeat() { * * @generated */ + @Override public While createWhile() { WhileImpl while_ = new WhileImpl(); return while_; @@ -280,6 +288,7 @@ public While createWhile() { * * @generated */ + @Override public VariableAssignment createVariableAssignment() { VariableAssignmentImpl variableAssignment = new VariableAssignmentImpl(); return variableAssignment; @@ -290,6 +299,7 @@ public VariableAssignment createVariableAssignment() { * * @generated */ + @Override public BinaryIntegerExpression createBinaryIntegerExpression() { BinaryIntegerExpressionImpl binaryIntegerExpression = new BinaryIntegerExpressionImpl(); return binaryIntegerExpression; @@ -300,6 +310,7 @@ public BinaryIntegerExpression createBinaryIntegerExpression() { * * @generated */ + @Override public BinaryBooleanExpression createBinaryBooleanExpression() { BinaryBooleanExpressionImpl binaryBooleanExpression = new BinaryBooleanExpressionImpl(); return binaryBooleanExpression; @@ -310,6 +321,7 @@ public BinaryBooleanExpression createBinaryBooleanExpression() { * * @generated */ + @Override public If createIf() { IfImpl if_ = new IfImpl(); return if_; @@ -320,6 +332,7 @@ public If createIf() { * * @generated */ + @Override public IntegerConstant createIntegerConstant() { IntegerConstantImpl integerConstant = new IntegerConstantImpl(); return integerConstant; @@ -330,6 +343,7 @@ public IntegerConstant createIntegerConstant() { * * @generated */ + @Override public BooleanConstant createBooleanConstant() { BooleanConstantImpl booleanConstant = new BooleanConstantImpl(); return booleanConstant; @@ -340,6 +354,7 @@ public BooleanConstant createBooleanConstant() { * * @generated */ + @Override public IntegerVariable createIntegerVariable() { IntegerVariableImpl integerVariable = new IntegerVariableImpl(); return integerVariable; @@ -350,6 +365,7 @@ public IntegerVariable createIntegerVariable() { * * @generated */ + @Override public BooleanVariable createBooleanVariable() { BooleanVariableImpl booleanVariable = new BooleanVariableImpl(); return booleanVariable; @@ -360,6 +376,7 @@ public BooleanVariable createBooleanVariable() { * * @generated */ + @Override public BooleanModuleGet createBooleanModuleGet() { BooleanModuleGetImpl booleanModuleGet = new BooleanModuleGetImpl(); return booleanModuleGet; @@ -370,6 +387,7 @@ public BooleanModuleGet createBooleanModuleGet() { * * @generated */ + @Override public IntegerModuleGet createIntegerModuleGet() { IntegerModuleGetImpl integerModuleGet = new IntegerModuleGetImpl(); return integerModuleGet; @@ -380,6 +398,7 @@ public IntegerModuleGet createIntegerModuleGet() { * * @generated */ + @Override public UnaryBooleanExpression createUnaryBooleanExpression() { UnaryBooleanExpressionImpl unaryBooleanExpression = new UnaryBooleanExpressionImpl(); return unaryBooleanExpression; @@ -390,6 +409,7 @@ public UnaryBooleanExpression createUnaryBooleanExpression() { * * @generated */ + @Override public UnaryIntegerExpression createUnaryIntegerExpression() { UnaryIntegerExpressionImpl unaryIntegerExpression = new UnaryIntegerExpressionImpl(); return unaryIntegerExpression; @@ -400,6 +420,7 @@ public UnaryIntegerExpression createUnaryIntegerExpression() { * * @generated */ + @Override public VariableDeclaration createVariableDeclaration() { VariableDeclarationImpl variableDeclaration = new VariableDeclarationImpl(); return variableDeclaration; @@ -410,6 +431,7 @@ public VariableDeclaration createVariableDeclaration() { * * @generated */ + @Override public IntegerVariableRef createIntegerVariableRef() { IntegerVariableRefImpl integerVariableRef = new IntegerVariableRefImpl(); return integerVariableRef; @@ -420,6 +442,7 @@ public IntegerVariableRef createIntegerVariableRef() { * * @generated */ + @Override public LED createLED() { LEDImpl led = new LEDImpl(); return led; @@ -430,6 +453,7 @@ public LED createLED() { * * @generated */ + @Override public PushButton createPushButton() { PushButtonImpl pushButton = new PushButtonImpl(); return pushButton; @@ -440,6 +464,7 @@ public PushButton createPushButton() { * * @generated */ + @Override public Buzzer createBuzzer() { BuzzerImpl buzzer = new BuzzerImpl(); return buzzer; @@ -450,6 +475,7 @@ public Buzzer createBuzzer() { * * @generated */ + @Override public RotationSensor createRotationSensor() { RotationSensorImpl rotationSensor = new RotationSensorImpl(); return rotationSensor; @@ -460,6 +486,7 @@ public RotationSensor createRotationSensor() { * * @generated */ + @Override public MicroServo createMicroServo() { MicroServoImpl microServo = new MicroServoImpl(); return microServo; @@ -470,6 +497,7 @@ public MicroServo createMicroServo() { * * @generated */ + @Override public InfraRedSensor createInfraRedSensor() { InfraRedSensorImpl infraRedSensor = new InfraRedSensorImpl(); return infraRedSensor; @@ -480,6 +508,7 @@ public InfraRedSensor createInfraRedSensor() { * * @generated */ + @Override public AmbientLightSensor createAmbientLightSensor() { AmbientLightSensorImpl ambientLightSensor = new AmbientLightSensorImpl(); return ambientLightSensor; @@ -490,6 +519,7 @@ public AmbientLightSensor createAmbientLightSensor() { * * @generated */ + @Override public SoundSensor createSoundSensor() { SoundSensorImpl soundSensor = new SoundSensorImpl(); return soundSensor; @@ -500,6 +530,7 @@ public SoundSensor createSoundSensor() { * * @generated */ + @Override public Fan createFan() { FanImpl fan = new FanImpl(); return fan; @@ -510,6 +541,7 @@ public Fan createFan() { * * @generated */ + @Override public MusicPlayer createMusicPlayer() { MusicPlayerImpl musicPlayer = new MusicPlayerImpl(); return musicPlayer; @@ -520,6 +552,7 @@ public MusicPlayer createMusicPlayer() { * * @generated */ + @Override public Block createBlock() { BlockImpl block = new BlockImpl(); return block; @@ -530,6 +563,7 @@ public Block createBlock() { * * @generated */ + @Override public ArduinoBoard createArduinoBoard() { ArduinoBoardImpl arduinoBoard = new ArduinoBoardImpl(); return arduinoBoard; @@ -540,6 +574,7 @@ public ArduinoBoard createArduinoBoard() { * * @generated */ + @Override public BooleanVariableRef createBooleanVariableRef() { BooleanVariableRefImpl booleanVariableRef = new BooleanVariableRefImpl(); return booleanVariableRef; @@ -550,6 +585,7 @@ public BooleanVariableRef createBooleanVariableRef() { * * @generated */ + @Override public BluetoothTransceiver createBluetoothTransceiver() { BluetoothTransceiverImpl bluetoothTransceiver = new BluetoothTransceiverImpl(); return bluetoothTransceiver; @@ -698,6 +734,7 @@ public String convertObjectToString(EDataType eDataType, Object instanceValue) { * * @generated */ + @Override public ArduinoPackage getArduinoPackage() { return (ArduinoPackage)getEPackage(); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoPackageImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoPackageImpl.java index 94330953..1477afef 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoPackageImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ArduinoPackageImpl.java @@ -557,7 +557,6 @@ public class ArduinoPackageImpl extends EPackageImpl implements ArduinoPackage { private ArduinoPackageImpl() { super(eNS_URI, ArduinoFactory.eINSTANCE); } - /** * * @@ -605,6 +604,7 @@ public static ArduinoPackage init() { * * @generated */ + @Override public EClass getBoard() { return boardEClass; } @@ -614,6 +614,7 @@ public EClass getBoard() { * * @generated */ + @Override public EReference getBoard_Project() { return (EReference)boardEClass.getEStructuralFeatures().get(0); } @@ -623,6 +624,7 @@ public EReference getBoard_Project() { * * @generated */ + @Override public EClass getModule() { return moduleEClass; } @@ -632,6 +634,7 @@ public EClass getModule() { * * @generated */ + @Override public EClass getDigitalPin() { return digitalPinEClass; } @@ -641,6 +644,7 @@ public EClass getDigitalPin() { * * @generated */ + @Override public EReference getDigitalPin_Module() { return (EReference)digitalPinEClass.getEStructuralFeatures().get(0); } @@ -650,6 +654,7 @@ public EReference getDigitalPin_Module() { * * @generated */ + @Override public EClass getPin() { return pinEClass; } @@ -659,6 +664,7 @@ public EClass getPin() { * * @generated */ + @Override public EAttribute getPin_Level() { return (EAttribute)pinEClass.getEStructuralFeatures().get(0); } @@ -668,6 +674,7 @@ public EAttribute getPin_Level() { * * @generated */ + @Override public EClass getAnalogPin() { return analogPinEClass; } @@ -677,6 +684,7 @@ public EClass getAnalogPin() { * * @generated */ + @Override public EReference getAnalogPin_Module() { return (EReference)analogPinEClass.getEStructuralFeatures().get(0); } @@ -686,6 +694,7 @@ public EReference getAnalogPin_Module() { * * @generated */ + @Override public EClass getSketch() { return sketchEClass; } @@ -695,6 +704,7 @@ public EClass getSketch() { * * @generated */ + @Override public EReference getSketch_Project() { return (EReference)sketchEClass.getEStructuralFeatures().get(0); } @@ -704,6 +714,7 @@ public EReference getSketch_Project() { * * @generated */ + @Override public EReference getSketch_Block() { return (EReference)sketchEClass.getEStructuralFeatures().get(1); } @@ -713,6 +724,7 @@ public EReference getSketch_Block() { * * @generated */ + @Override public EReference getSketch_Board() { return (EReference)sketchEClass.getEStructuralFeatures().get(2); } @@ -722,6 +734,7 @@ public EReference getSketch_Board() { * * @generated */ + @Override public EClass getProject() { return projectEClass; } @@ -731,6 +744,7 @@ public EClass getProject() { * * @generated */ + @Override public EReference getProject_Boards() { return (EReference)projectEClass.getEStructuralFeatures().get(0); } @@ -740,6 +754,7 @@ public EReference getProject_Boards() { * * @generated */ + @Override public EReference getProject_Sketches() { return (EReference)projectEClass.getEStructuralFeatures().get(1); } @@ -749,6 +764,7 @@ public EReference getProject_Sketches() { * * @generated */ + @Override public EClass getInstruction() { return instructionEClass; } @@ -758,6 +774,7 @@ public EClass getInstruction() { * * @generated */ + @Override public EClass getModuleAssignment() { return moduleAssignmentEClass; } @@ -767,6 +784,7 @@ public EClass getModuleAssignment() { * * @generated */ + @Override public EClass getModuleInstruction() { return moduleInstructionEClass; } @@ -776,6 +794,7 @@ public EClass getModuleInstruction() { * * @generated */ + @Override public EReference getModuleInstruction_Module() { return (EReference)moduleInstructionEClass.getEStructuralFeatures().get(0); } @@ -785,6 +804,7 @@ public EReference getModuleInstruction_Module() { * * @generated */ + @Override public EClass getControl() { return controlEClass; } @@ -794,6 +814,7 @@ public EClass getControl() { * * @generated */ + @Override public EReference getControl_Block() { return (EReference)controlEClass.getEStructuralFeatures().get(0); } @@ -803,6 +824,7 @@ public EReference getControl_Block() { * * @generated */ + @Override public EClass getUtilities() { return utilitiesEClass; } @@ -812,6 +834,7 @@ public EClass getUtilities() { * * @generated */ + @Override public EClass getDelay() { return delayEClass; } @@ -821,6 +844,7 @@ public EClass getDelay() { * * @generated */ + @Override public EAttribute getDelay_Unit() { return (EAttribute)delayEClass.getEStructuralFeatures().get(0); } @@ -830,6 +854,7 @@ public EAttribute getDelay_Unit() { * * @generated */ + @Override public EAttribute getDelay_Value() { return (EAttribute)delayEClass.getEStructuralFeatures().get(1); } @@ -839,6 +864,7 @@ public EAttribute getDelay_Value() { * * @generated */ + @Override public EClass getNamedElement() { return namedElementEClass; } @@ -848,6 +874,7 @@ public EClass getNamedElement() { * * @generated */ + @Override public EAttribute getNamedElement_Name() { return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); } @@ -857,6 +884,7 @@ public EAttribute getNamedElement_Name() { * * @generated */ + @Override public EClass getRepeat() { return repeatEClass; } @@ -866,6 +894,7 @@ public EClass getRepeat() { * * @generated */ + @Override public EAttribute getRepeat_Iteration() { return (EAttribute)repeatEClass.getEStructuralFeatures().get(0); } @@ -875,6 +904,7 @@ public EAttribute getRepeat_Iteration() { * * @generated */ + @Override public EClass getModuleGet() { return moduleGetEClass; } @@ -884,6 +914,7 @@ public EClass getModuleGet() { * * @generated */ + @Override public EReference getModuleGet_Module() { return (EReference)moduleGetEClass.getEStructuralFeatures().get(0); } @@ -893,6 +924,7 @@ public EReference getModuleGet_Module() { * * @generated */ + @Override public EClass getWhile() { return whileEClass; } @@ -902,6 +934,7 @@ public EClass getWhile() { * * @generated */ + @Override public EReference getWhile_Condition() { return (EReference)whileEClass.getEStructuralFeatures().get(0); } @@ -911,6 +944,7 @@ public EReference getWhile_Condition() { * * @generated */ + @Override public EClass getBinaryExpression() { return binaryExpressionEClass; } @@ -920,6 +954,7 @@ public EClass getBinaryExpression() { * * @generated */ + @Override public EReference getBinaryExpression_Left() { return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(0); } @@ -929,6 +964,7 @@ public EReference getBinaryExpression_Left() { * * @generated */ + @Override public EReference getBinaryExpression_Right() { return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(1); } @@ -938,6 +974,7 @@ public EReference getBinaryExpression_Right() { * * @generated */ + @Override public EClass getVariable() { return variableEClass; } @@ -947,6 +984,7 @@ public EClass getVariable() { * * @generated */ + @Override public EClass getVariableAssignment() { return variableAssignmentEClass; } @@ -956,6 +994,7 @@ public EClass getVariableAssignment() { * * @generated */ + @Override public EReference getVariableAssignment_Variable() { return (EReference)variableAssignmentEClass.getEStructuralFeatures().get(0); } @@ -965,6 +1004,7 @@ public EReference getVariableAssignment_Variable() { * * @generated */ + @Override public EClass getBinaryIntegerExpression() { return binaryIntegerExpressionEClass; } @@ -974,6 +1014,7 @@ public EClass getBinaryIntegerExpression() { * * @generated */ + @Override public EAttribute getBinaryIntegerExpression_Operator() { return (EAttribute)binaryIntegerExpressionEClass.getEStructuralFeatures().get(0); } @@ -983,6 +1024,7 @@ public EAttribute getBinaryIntegerExpression_Operator() { * * @generated */ + @Override public EClass getBinaryBooleanExpression() { return binaryBooleanExpressionEClass; } @@ -992,6 +1034,7 @@ public EClass getBinaryBooleanExpression() { * * @generated */ + @Override public EAttribute getBinaryBooleanExpression_Operator() { return (EAttribute)binaryBooleanExpressionEClass.getEStructuralFeatures().get(0); } @@ -1001,6 +1044,7 @@ public EAttribute getBinaryBooleanExpression_Operator() { * * @generated */ + @Override public EClass getExpression() { return expressionEClass; } @@ -1010,6 +1054,7 @@ public EClass getExpression() { * * @generated */ + @Override public EClass getConstant() { return constantEClass; } @@ -1019,6 +1064,7 @@ public EClass getConstant() { * * @generated */ + @Override public EClass getIf() { return ifEClass; } @@ -1028,6 +1074,7 @@ public EClass getIf() { * * @generated */ + @Override public EReference getIf_Condition() { return (EReference)ifEClass.getEStructuralFeatures().get(0); } @@ -1037,6 +1084,7 @@ public EReference getIf_Condition() { * * @generated */ + @Override public EReference getIf_ElseBlock() { return (EReference)ifEClass.getEStructuralFeatures().get(1); } @@ -1046,6 +1094,7 @@ public EReference getIf_ElseBlock() { * * @generated */ + @Override public EClass getIntegerConstant() { return integerConstantEClass; } @@ -1055,6 +1104,7 @@ public EClass getIntegerConstant() { * * @generated */ + @Override public EAttribute getIntegerConstant_Value() { return (EAttribute)integerConstantEClass.getEStructuralFeatures().get(0); } @@ -1064,6 +1114,7 @@ public EAttribute getIntegerConstant_Value() { * * @generated */ + @Override public EClass getBooleanConstant() { return booleanConstantEClass; } @@ -1073,6 +1124,7 @@ public EClass getBooleanConstant() { * * @generated */ + @Override public EAttribute getBooleanConstant_Value() { return (EAttribute)booleanConstantEClass.getEStructuralFeatures().get(0); } @@ -1082,6 +1134,7 @@ public EAttribute getBooleanConstant_Value() { * * @generated */ + @Override public EClass getBooleanExpression() { return booleanExpressionEClass; } @@ -1091,6 +1144,7 @@ public EClass getBooleanExpression() { * * @generated */ + @Override public EClass getIntegerExpression() { return integerExpressionEClass; } @@ -1100,6 +1154,7 @@ public EClass getIntegerExpression() { * * @generated */ + @Override public EClass getAssignment() { return assignmentEClass; } @@ -1109,6 +1164,7 @@ public EClass getAssignment() { * * @generated */ + @Override public EReference getAssignment_Operand() { return (EReference)assignmentEClass.getEStructuralFeatures().get(0); } @@ -1118,6 +1174,7 @@ public EReference getAssignment_Operand() { * * @generated */ + @Override public EClass getIntegerVariable() { return integerVariableEClass; } @@ -1127,6 +1184,7 @@ public EClass getIntegerVariable() { * * @generated */ + @Override public EAttribute getIntegerVariable_InitialValue() { return (EAttribute)integerVariableEClass.getEStructuralFeatures().get(0); } @@ -1136,6 +1194,7 @@ public EAttribute getIntegerVariable_InitialValue() { * * @generated */ + @Override public EAttribute getIntegerVariable_Value() { return (EAttribute)integerVariableEClass.getEStructuralFeatures().get(1); } @@ -1145,6 +1204,7 @@ public EAttribute getIntegerVariable_Value() { * * @generated */ + @Override public EClass getBooleanVariable() { return booleanVariableEClass; } @@ -1154,6 +1214,7 @@ public EClass getBooleanVariable() { * * @generated */ + @Override public EAttribute getBooleanVariable_InitialValue() { return (EAttribute)booleanVariableEClass.getEStructuralFeatures().get(0); } @@ -1163,6 +1224,7 @@ public EAttribute getBooleanVariable_InitialValue() { * * @generated */ + @Override public EAttribute getBooleanVariable_Value() { return (EAttribute)booleanVariableEClass.getEStructuralFeatures().get(1); } @@ -1172,6 +1234,7 @@ public EAttribute getBooleanVariable_Value() { * * @generated */ + @Override public EClass getBooleanModuleGet() { return booleanModuleGetEClass; } @@ -1181,6 +1244,7 @@ public EClass getBooleanModuleGet() { * * @generated */ + @Override public EClass getIntegerModuleGet() { return integerModuleGetEClass; } @@ -1190,6 +1254,7 @@ public EClass getIntegerModuleGet() { * * @generated */ + @Override public EClass getUnaryExpression() { return unaryExpressionEClass; } @@ -1199,6 +1264,7 @@ public EClass getUnaryExpression() { * * @generated */ + @Override public EReference getUnaryExpression_Operand() { return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(0); } @@ -1208,6 +1274,7 @@ public EReference getUnaryExpression_Operand() { * * @generated */ + @Override public EClass getUnaryBooleanExpression() { return unaryBooleanExpressionEClass; } @@ -1217,6 +1284,7 @@ public EClass getUnaryBooleanExpression() { * * @generated */ + @Override public EAttribute getUnaryBooleanExpression_Operator() { return (EAttribute)unaryBooleanExpressionEClass.getEStructuralFeatures().get(0); } @@ -1226,6 +1294,7 @@ public EAttribute getUnaryBooleanExpression_Operator() { * * @generated */ + @Override public EClass getUnaryIntegerExpression() { return unaryIntegerExpressionEClass; } @@ -1235,6 +1304,7 @@ public EClass getUnaryIntegerExpression() { * * @generated */ + @Override public EAttribute getUnaryIntegerExpression_Operator() { return (EAttribute)unaryIntegerExpressionEClass.getEStructuralFeatures().get(0); } @@ -1244,6 +1314,7 @@ public EAttribute getUnaryIntegerExpression_Operator() { * * @generated */ + @Override public EClass getVariableDeclaration() { return variableDeclarationEClass; } @@ -1253,6 +1324,7 @@ public EClass getVariableDeclaration() { * * @generated */ + @Override public EReference getVariableDeclaration_Variable() { return (EReference)variableDeclarationEClass.getEStructuralFeatures().get(0); } @@ -1262,6 +1334,7 @@ public EReference getVariableDeclaration_Variable() { * * @generated */ + @Override public EClass getVariableRef() { return variableRefEClass; } @@ -1271,6 +1344,7 @@ public EClass getVariableRef() { * * @generated */ + @Override public EClass getIntegerVariableRef() { return integerVariableRefEClass; } @@ -1280,6 +1354,7 @@ public EClass getIntegerVariableRef() { * * @generated */ + @Override public EReference getIntegerVariableRef_Variable() { return (EReference)integerVariableRefEClass.getEStructuralFeatures().get(0); } @@ -1289,6 +1364,7 @@ public EReference getIntegerVariableRef_Variable() { * * @generated */ + @Override public EClass getLED() { return ledEClass; } @@ -1298,6 +1374,7 @@ public EClass getLED() { * * @generated */ + @Override public EAttribute getLED_Color() { return (EAttribute)ledEClass.getEStructuralFeatures().get(0); } @@ -1307,6 +1384,7 @@ public EAttribute getLED_Color() { * * @generated */ + @Override public EClass getPushButton() { return pushButtonEClass; } @@ -1316,6 +1394,7 @@ public EClass getPushButton() { * * @generated */ + @Override public EClass getBuzzer() { return buzzerEClass; } @@ -1325,6 +1404,7 @@ public EClass getBuzzer() { * * @generated */ + @Override public EClass getRotationSensor() { return rotationSensorEClass; } @@ -1334,6 +1414,7 @@ public EClass getRotationSensor() { * * @generated */ + @Override public EClass getMicroServo() { return microServoEClass; } @@ -1343,6 +1424,7 @@ public EClass getMicroServo() { * * @generated */ + @Override public EClass getInfraRedSensor() { return infraRedSensorEClass; } @@ -1352,6 +1434,7 @@ public EClass getInfraRedSensor() { * * @generated */ + @Override public EClass getAmbientLightSensor() { return ambientLightSensorEClass; } @@ -1361,6 +1444,7 @@ public EClass getAmbientLightSensor() { * * @generated */ + @Override public EClass getSoundSensor() { return soundSensorEClass; } @@ -1370,6 +1454,7 @@ public EClass getSoundSensor() { * * @generated */ + @Override public EClass getFan() { return fanEClass; } @@ -1379,6 +1464,7 @@ public EClass getFan() { * * @generated */ + @Override public EClass getMusicPlayer() { return musicPlayerEClass; } @@ -1388,6 +1474,7 @@ public EClass getMusicPlayer() { * * @generated */ + @Override public EClass getArduinoModule() { return arduinoModuleEClass; } @@ -1397,6 +1484,7 @@ public EClass getArduinoModule() { * * @generated */ + @Override public EClass getBlock() { return blockEClass; } @@ -1406,6 +1494,7 @@ public EClass getBlock() { * * @generated */ + @Override public EReference getBlock_Instructions() { return (EReference)blockEClass.getEStructuralFeatures().get(0); } @@ -1415,6 +1504,7 @@ public EReference getBlock_Instructions() { * * @generated */ + @Override public EClass getArduinoBoard() { return arduinoBoardEClass; } @@ -1424,6 +1514,7 @@ public EClass getArduinoBoard() { * * @generated */ + @Override public EReference getArduinoBoard_DigitalPins() { return (EReference)arduinoBoardEClass.getEStructuralFeatures().get(0); } @@ -1433,6 +1524,7 @@ public EReference getArduinoBoard_DigitalPins() { * * @generated */ + @Override public EReference getArduinoBoard_AnalogPins() { return (EReference)arduinoBoardEClass.getEStructuralFeatures().get(1); } @@ -1442,6 +1534,7 @@ public EReference getArduinoBoard_AnalogPins() { * * @generated */ + @Override public EClass getArduinoDigitalModule() { return arduinoDigitalModuleEClass; } @@ -1451,6 +1544,7 @@ public EClass getArduinoDigitalModule() { * * @generated */ + @Override public EClass getArduinoAnalogModule() { return arduinoAnalogModuleEClass; } @@ -1460,6 +1554,7 @@ public EClass getArduinoAnalogModule() { * * @generated */ + @Override public EClass getBooleanVariableRef() { return booleanVariableRefEClass; } @@ -1469,6 +1564,7 @@ public EClass getBooleanVariableRef() { * * @generated */ + @Override public EReference getBooleanVariableRef_Variable() { return (EReference)booleanVariableRefEClass.getEStructuralFeatures().get(0); } @@ -1478,6 +1574,7 @@ public EReference getBooleanVariableRef_Variable() { * * @generated */ + @Override public EClass getArduinoCommunicationModule() { return arduinoCommunicationModuleEClass; } @@ -1487,6 +1584,7 @@ public EClass getArduinoCommunicationModule() { * * @generated */ + @Override public EClass getBluetoothTransceiver() { return bluetoothTransceiverEClass; } @@ -1496,6 +1594,7 @@ public EClass getBluetoothTransceiver() { * * @generated */ + @Override public EReference getBluetoothTransceiver_ConnectedTransceiver() { return (EReference)bluetoothTransceiverEClass.getEStructuralFeatures().get(0); } @@ -1505,6 +1604,7 @@ public EReference getBluetoothTransceiver_ConnectedTransceiver() { * * @generated */ + @Override public EAttribute getBluetoothTransceiver_DataToSend() { return (EAttribute)bluetoothTransceiverEClass.getEStructuralFeatures().get(1); } @@ -1514,6 +1614,7 @@ public EAttribute getBluetoothTransceiver_DataToSend() { * * @generated */ + @Override public EAttribute getBluetoothTransceiver_DataReceived() { return (EAttribute)bluetoothTransceiverEClass.getEStructuralFeatures().get(2); } @@ -1523,6 +1624,7 @@ public EAttribute getBluetoothTransceiver_DataReceived() { * * @generated */ + @Override public EEnum getTime() { return timeEEnum; } @@ -1532,6 +1634,7 @@ public EEnum getTime() { * * @generated */ + @Override public EEnum getBinaryIntegerOperatorKind() { return binaryIntegerOperatorKindEEnum; } @@ -1541,6 +1644,7 @@ public EEnum getBinaryIntegerOperatorKind() { * * @generated */ + @Override public EEnum getBinaryBooleanOperatorKind() { return binaryBooleanOperatorKindEEnum; } @@ -1550,6 +1654,7 @@ public EEnum getBinaryBooleanOperatorKind() { * * @generated */ + @Override public EEnum getUnaryIntegerOperatorKind() { return unaryIntegerOperatorKindEEnum; } @@ -1559,6 +1664,7 @@ public EEnum getUnaryIntegerOperatorKind() { * * @generated */ + @Override public EEnum getUnaryBooleanOperatorKind() { return unaryBooleanOperatorKindEEnum; } @@ -1568,6 +1674,7 @@ public EEnum getUnaryBooleanOperatorKind() { * * @generated */ + @Override public EEnum getColor() { return colorEEnum; } @@ -1577,6 +1684,7 @@ public EEnum getColor() { * * @generated */ + @Override public EDataType getObject() { return objectEDataType; } @@ -1586,6 +1694,7 @@ public EDataType getObject() { * * @generated */ + @Override public ArduinoFactory getArduinoFactory() { return (ArduinoFactory)getEFactoryInstance(); } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AssignmentImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AssignmentImpl.java index 14d16793..381cfa2c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AssignmentImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/AssignmentImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Expression getOperand() { return operand; } @@ -86,6 +87,7 @@ public NotificationChain basicSetOperand(Expression newOperand, NotificationChai * * @generated */ + @Override public void setOperand(Expression newOperand) { if (newOperand != operand) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryBooleanExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryBooleanExpressionImpl.java index e6c23009..fcaee5c2 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryBooleanExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryBooleanExpressionImpl.java @@ -70,6 +70,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public BinaryBooleanOperatorKind getOperator() { return operator; } @@ -79,6 +80,7 @@ public BinaryBooleanOperatorKind getOperator() { * * @generated */ + @Override public void setOperator(BinaryBooleanOperatorKind newOperator) { BinaryBooleanOperatorKind oldOperator = operator; operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryExpressionImpl.java index 458ffb4c..e2f0d56f 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryExpressionImpl.java @@ -73,6 +73,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Expression getLeft() { return left; } @@ -97,6 +98,7 @@ public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs * * @generated */ + @Override public void setLeft(Expression newLeft) { if (newLeft != left) { NotificationChain msgs = null; @@ -116,6 +118,7 @@ else if (eNotificationRequired()) * * @generated */ + @Override public Expression getRight() { return right; } @@ -140,6 +143,7 @@ public NotificationChain basicSetRight(Expression newRight, NotificationChain ms * * @generated */ + @Override public void setRight(Expression newRight) { if (newRight != right) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryIntegerExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryIntegerExpressionImpl.java index ba35001a..66edf830 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryIntegerExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BinaryIntegerExpressionImpl.java @@ -70,6 +70,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public BinaryIntegerOperatorKind getOperator() { return operator; } @@ -79,6 +80,7 @@ public BinaryIntegerOperatorKind getOperator() { * * @generated */ + @Override public void setOperator(BinaryIntegerOperatorKind newOperator) { BinaryIntegerOperatorKind oldOperator = operator; operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BlockImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BlockImpl.java index 294ed733..b213df5c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BlockImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BlockImpl.java @@ -68,6 +68,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public EList getInstructions() { if (instructions == null) { instructions = new EObjectContainmentEList(Instruction.class, this, ArduinoPackage.BLOCK__INSTRUCTIONS); @@ -80,6 +81,7 @@ public EList getInstructions() { * * @generated */ + @Override public void execute() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BluetoothTransceiverImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BluetoothTransceiverImpl.java index be11b136..8fb250ea 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BluetoothTransceiverImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BluetoothTransceiverImpl.java @@ -84,6 +84,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public EList getConnectedTransceiver() { if (connectedTransceiver == null) { connectedTransceiver = new EObjectResolvingEList(BluetoothTransceiver.class, this, ArduinoPackage.BLUETOOTH_TRANSCEIVER__CONNECTED_TRANSCEIVER); @@ -96,6 +97,7 @@ public EList getConnectedTransceiver() { * * @generated */ + @Override public EList getDataToSend() { if (dataToSend == null) { dataToSend = new EDataTypeEList(Integer.class, this, ArduinoPackage.BLUETOOTH_TRANSCEIVER__DATA_TO_SEND); @@ -108,6 +110,7 @@ public EList getDataToSend() { * * @generated */ + @Override public EList getDataReceived() { if (dataReceived == null) { dataReceived = new EDataTypeEList(Integer.class, this, ArduinoPackage.BLUETOOTH_TRANSCEIVER__DATA_RECEIVED); @@ -120,6 +123,7 @@ public EList getDataReceived() { * * @generated */ + @Override public void push() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BoardImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BoardImpl.java index 05892570..05d65a70 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BoardImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BoardImpl.java @@ -54,6 +54,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Project getProject() { if (eContainerFeatureID() != ArduinoPackage.BOARD__PROJECT) return null; return (Project)eInternalContainer(); @@ -74,6 +75,7 @@ public NotificationChain basicSetProject(Project newProject, NotificationChain m * * @generated */ + @Override public void setProject(Project newProject) { if (newProject != eInternalContainer() || (eContainerFeatureID() != ArduinoPackage.BOARD__PROJECT && newProject != null)) { if (EcoreUtil.isAncestor(this, newProject)) diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanConstantImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanConstantImpl.java index 5f5c9d7c..908291fc 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanConstantImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanConstantImpl.java @@ -69,6 +69,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public boolean isValue() { return value; } @@ -78,6 +79,7 @@ public boolean isValue() { * * @generated */ + @Override public void setValue(boolean newValue) { boolean oldValue = value; value = newValue; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableImpl.java index 9993521e..414db6e7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableImpl.java @@ -90,6 +90,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public boolean isInitialValue() { return initialValue; } @@ -99,6 +100,7 @@ public boolean isInitialValue() { * * @generated */ + @Override public void setInitialValue(boolean newInitialValue) { boolean oldInitialValue = initialValue; initialValue = newInitialValue; @@ -111,6 +113,7 @@ public void setInitialValue(boolean newInitialValue) { * * @generated */ + @Override public Boolean getValue() { return value; } @@ -120,6 +123,7 @@ public Boolean getValue() { * * @generated */ + @Override public void setValue(Boolean newValue) { Boolean oldValue = value; value = newValue; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableRefImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableRefImpl.java index 608680c8..3750bc78 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableRefImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/BooleanVariableRefImpl.java @@ -61,6 +61,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public BooleanVariable getVariable() { if (variable != null && variable.eIsProxy()) { InternalEObject oldVariable = (InternalEObject)variable; @@ -87,6 +88,7 @@ public BooleanVariable basicGetVariable() { * * @generated */ + @Override public void setVariable(BooleanVariable newVariable) { BooleanVariable oldVariable = variable; variable = newVariable; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ControlImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ControlImpl.java index 2c697c31..59ff730f 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ControlImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ControlImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Block getBlock() { return block; } @@ -86,6 +87,7 @@ public NotificationChain basicSetBlock(Block newBlock, NotificationChain msgs) { * * @generated */ + @Override public void setBlock(Block newBlock) { if (newBlock != block) { NotificationChain msgs = null; @@ -105,6 +107,7 @@ else if (eNotificationRequired()) * * @generated */ + @Override public Boolean evaluate() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DelayImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DelayImpl.java index 0d9527b6..e21718b0 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DelayImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DelayImpl.java @@ -91,6 +91,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Time getUnit() { return unit; } @@ -100,6 +101,7 @@ public Time getUnit() { * * @generated */ + @Override public void setUnit(Time newUnit) { Time oldUnit = unit; unit = newUnit == null ? UNIT_EDEFAULT : newUnit; @@ -112,6 +114,7 @@ public void setUnit(Time newUnit) { * * @generated */ + @Override public int getValue() { return value; } @@ -121,6 +124,7 @@ public int getValue() { * * @generated */ + @Override public void setValue(int newValue) { int oldValue = value; value = newValue; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DigitalPinImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DigitalPinImpl.java index 8f71a106..a5ede6a7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DigitalPinImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/DigitalPinImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public ArduinoDigitalModule getModule() { return module; } @@ -86,6 +87,7 @@ public NotificationChain basicSetModule(ArduinoDigitalModule newModule, Notifica * * @generated */ + @Override public void setModule(ArduinoDigitalModule newModule) { if (newModule != module) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ExpressionImpl.java index 0f63f045..58e204fe 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ExpressionImpl.java @@ -41,6 +41,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Object evaluate() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IfImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IfImpl.java index c26df664..4b4956e8 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IfImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IfImpl.java @@ -74,6 +74,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public BooleanExpression getCondition() { return condition; } @@ -98,6 +99,7 @@ public NotificationChain basicSetCondition(BooleanExpression newCondition, Notif * * @generated */ + @Override public void setCondition(BooleanExpression newCondition) { if (newCondition != condition) { NotificationChain msgs = null; @@ -117,6 +119,7 @@ else if (eNotificationRequired()) * * @generated */ + @Override public Block getElseBlock() { return elseBlock; } @@ -141,6 +144,7 @@ public NotificationChain basicSetElseBlock(Block newElseBlock, NotificationChain * * @generated */ + @Override public void setElseBlock(Block newElseBlock) { if (newElseBlock != elseBlock) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/InstructionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/InstructionImpl.java index 6cb79f22..c433184e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/InstructionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/InstructionImpl.java @@ -41,6 +41,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public void execute() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -52,6 +53,7 @@ public void execute() { * * @generated */ + @Override public void finalize() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerConstantImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerConstantImpl.java index 27ea7a5f..56583b19 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerConstantImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerConstantImpl.java @@ -69,6 +69,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public int getValue() { return value; } @@ -78,6 +79,7 @@ public int getValue() { * * @generated */ + @Override public void setValue(int newValue) { int oldValue = value; value = newValue; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableImpl.java index cc5f0a00..7a6fcb5f 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableImpl.java @@ -90,6 +90,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public int getInitialValue() { return initialValue; } @@ -99,6 +100,7 @@ public int getInitialValue() { * * @generated */ + @Override public void setInitialValue(int newInitialValue) { int oldInitialValue = initialValue; initialValue = newInitialValue; @@ -111,6 +113,7 @@ public void setInitialValue(int newInitialValue) { * * @generated */ + @Override public Integer getValue() { return value; } @@ -120,6 +123,7 @@ public Integer getValue() { * * @generated */ + @Override public void setValue(Integer newValue) { Integer oldValue = value; value = newValue; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableRefImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableRefImpl.java index cab699db..0a3b7beb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableRefImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/IntegerVariableRefImpl.java @@ -61,6 +61,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public IntegerVariable getVariable() { if (variable != null && variable.eIsProxy()) { InternalEObject oldVariable = (InternalEObject)variable; @@ -87,6 +88,7 @@ public IntegerVariable basicGetVariable() { * * @generated */ + @Override public void setVariable(IntegerVariable newVariable) { IntegerVariable oldVariable = variable; variable = newVariable; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/LEDImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/LEDImpl.java index e50963b8..f9ae9724 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/LEDImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/LEDImpl.java @@ -70,6 +70,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Color getColor() { return color; } @@ -79,6 +80,7 @@ public Color getColor() { * * @generated */ + @Override public void setColor(Color newColor) { Color oldColor = color; color = newColor == null ? COLOR_EDEFAULT : newColor; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleAssignmentImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleAssignmentImpl.java index 8268b9c6..fd917ba9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleAssignmentImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleAssignmentImpl.java @@ -63,6 +63,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Expression getOperand() { return operand; } @@ -87,6 +88,7 @@ public NotificationChain basicSetOperand(Expression newOperand, NotificationChai * * @generated */ + @Override public void setOperand(Expression newOperand) { if (newOperand != operand) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleGetImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleGetImpl.java index 61063675..64b02ef9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleGetImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleGetImpl.java @@ -60,6 +60,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public org.gemoc.arduino.sequential.xarduino.arduino.Module getModule() { if (module != null && module.eIsProxy()) { InternalEObject oldModule = (InternalEObject)module; @@ -86,6 +87,7 @@ public org.gemoc.arduino.sequential.xarduino.arduino.Module basicGetModule() { * * @generated */ + @Override public void setModule(org.gemoc.arduino.sequential.xarduino.arduino.Module newModule) { org.gemoc.arduino.sequential.xarduino.arduino.Module oldModule = module; module = newModule; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleInstructionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleInstructionImpl.java index d0d4d4f3..6ab28e2d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleInstructionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ModuleInstructionImpl.java @@ -60,6 +60,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public org.gemoc.arduino.sequential.xarduino.arduino.Module getModule() { if (module != null && module.eIsProxy()) { InternalEObject oldModule = (InternalEObject)module; @@ -86,6 +87,7 @@ public org.gemoc.arduino.sequential.xarduino.arduino.Module basicGetModule() { * * @generated */ + @Override public void setModule(org.gemoc.arduino.sequential.xarduino.arduino.Module newModule) { org.gemoc.arduino.sequential.xarduino.arduino.Module oldModule = module; module = newModule; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/NamedElementImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/NamedElementImpl.java index aa3d7fa5..d0dcedae 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/NamedElementImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/NamedElementImpl.java @@ -70,6 +70,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public String getName() { return name; } @@ -79,6 +80,7 @@ public String getName() { * * @generated */ + @Override public void setName(String newName) { String oldName = name; name = newName; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/PinImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/PinImpl.java index f785cbef..f907eb0e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/PinImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/PinImpl.java @@ -69,6 +69,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Integer getLevel() { return level; } @@ -78,6 +79,7 @@ public Integer getLevel() { * * @generated */ + @Override public void setLevel(Integer newLevel) { Integer oldLevel = level; level = newLevel; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ProjectImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ProjectImpl.java index 23827024..56425c1a 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ProjectImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/ProjectImpl.java @@ -80,6 +80,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public EList getBoards() { if (boards == null) { boards = new EObjectContainmentWithInverseEList(Board.class, this, ArduinoPackage.PROJECT__BOARDS, ArduinoPackage.BOARD__PROJECT); @@ -92,6 +93,7 @@ public EList getBoards() { * * @generated */ + @Override public EList getSketches() { if (sketches == null) { sketches = new EObjectContainmentWithInverseEList(Sketch.class, this, ArduinoPackage.PROJECT__SKETCHES, ArduinoPackage.SKETCH__PROJECT); @@ -104,6 +106,7 @@ public EList getSketches() { * * @generated */ + @Override public void execute() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -115,6 +118,7 @@ public void execute() { * * @generated */ + @Override public void main() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -126,6 +130,7 @@ public void main() { * * @generated */ + @Override public void setup() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -137,6 +142,7 @@ public void setup() { * * @generated */ + @Override public void initializeModel(EList args) { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/RepeatImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/RepeatImpl.java index da87b06b..ba9909c1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/RepeatImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/RepeatImpl.java @@ -69,6 +69,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public int getIteration() { return iteration; } @@ -78,6 +79,7 @@ public int getIteration() { * * @generated */ + @Override public void setIteration(int newIteration) { int oldIteration = iteration; iteration = newIteration; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/SketchImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/SketchImpl.java index c0934568..a8ecc829 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/SketchImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/SketchImpl.java @@ -78,6 +78,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Project getProject() { if (eContainerFeatureID() != ArduinoPackage.SKETCH__PROJECT) return null; return (Project)eInternalContainer(); @@ -98,6 +99,7 @@ public NotificationChain basicSetProject(Project newProject, NotificationChain m * * @generated */ + @Override public void setProject(Project newProject) { if (newProject != eInternalContainer() || (eContainerFeatureID() != ArduinoPackage.SKETCH__PROJECT && newProject != null)) { if (EcoreUtil.isAncestor(this, newProject)) @@ -119,6 +121,7 @@ else if (eNotificationRequired()) * * @generated */ + @Override public Block getBlock() { return block; } @@ -143,6 +146,7 @@ public NotificationChain basicSetBlock(Block newBlock, NotificationChain msgs) { * * @generated */ + @Override public void setBlock(Block newBlock) { if (newBlock != block) { NotificationChain msgs = null; @@ -162,6 +166,7 @@ else if (eNotificationRequired()) * * @generated */ + @Override public Board getBoard() { if (board != null && board.eIsProxy()) { InternalEObject oldBoard = (InternalEObject)board; @@ -188,6 +193,7 @@ public Board basicGetBoard() { * * @generated */ + @Override public void setBoard(Board newBoard) { Board oldBoard = board; board = newBoard; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryBooleanExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryBooleanExpressionImpl.java index 2596e525..75d25f7d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryBooleanExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryBooleanExpressionImpl.java @@ -70,6 +70,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public UnaryBooleanOperatorKind getOperator() { return operator; } @@ -79,6 +80,7 @@ public UnaryBooleanOperatorKind getOperator() { * * @generated */ + @Override public void setOperator(UnaryBooleanOperatorKind newOperator) { UnaryBooleanOperatorKind oldOperator = operator; operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryExpressionImpl.java index a3a019dc..4d35a268 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryExpressionImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Expression getOperand() { return operand; } @@ -86,6 +87,7 @@ public NotificationChain basicSetOperand(Expression newOperand, NotificationChai * * @generated */ + @Override public void setOperand(Expression newOperand) { if (newOperand != operand) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryIntegerExpressionImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryIntegerExpressionImpl.java index b689477f..d1c07321 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryIntegerExpressionImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/UnaryIntegerExpressionImpl.java @@ -70,6 +70,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public UnaryIntegerOperatorKind getOperator() { return operator; } @@ -79,6 +80,7 @@ public UnaryIntegerOperatorKind getOperator() { * * @generated */ + @Override public void setOperator(UnaryIntegerOperatorKind newOperator) { UnaryIntegerOperatorKind oldOperator = operator; operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableAssignmentImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableAssignmentImpl.java index 0067810d..b47d6fc4 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableAssignmentImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableAssignmentImpl.java @@ -75,6 +75,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Expression getOperand() { return operand; } @@ -99,6 +100,7 @@ public NotificationChain basicSetOperand(Expression newOperand, NotificationChai * * @generated */ + @Override public void setOperand(Expression newOperand) { if (newOperand != operand) { NotificationChain msgs = null; @@ -118,6 +120,7 @@ else if (eNotificationRequired()) * * @generated */ + @Override public Variable getVariable() { if (variable != null && variable.eIsProxy()) { InternalEObject oldVariable = (InternalEObject)variable; @@ -144,6 +147,7 @@ public Variable basicGetVariable() { * * @generated */ + @Override public void setVariable(Variable newVariable) { Variable oldVariable = variable; variable = newVariable; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableDeclarationImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableDeclarationImpl.java index 3dbdb936..54d3cbf5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableDeclarationImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableDeclarationImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Variable getVariable() { return variable; } @@ -86,6 +87,7 @@ public NotificationChain basicSetVariable(Variable newVariable, NotificationChai * * @generated */ + @Override public void setVariable(Variable newVariable) { if (newVariable != variable) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableImpl.java index d5b039c2..f3e5bdac 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/VariableImpl.java @@ -39,6 +39,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public Object evaluate() { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/WhileImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/WhileImpl.java index 809d6fdb..b0a76786 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/WhileImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential.xarduino/src/org/gemoc/arduino/sequential/xarduino/arduino/impl/WhileImpl.java @@ -62,6 +62,7 @@ protected EClass eStaticClass() { * * @generated */ + @Override public BooleanExpression getCondition() { return condition; } @@ -86,6 +87,7 @@ public NotificationChain basicSetCondition(BooleanExpression newCondition, Notif * * @generated */ + @Override public void setCondition(BooleanExpression newCondition) { if (newCondition != condition) { NotificationChain msgs = null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.classpath b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.classpath index 5eb68bda..608c5cf8 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.classpath +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.classpath @@ -1,8 +1,8 @@ + + - - diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.project b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.project index d44daf0b..f3ab6e0d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.project +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.project @@ -26,13 +26,14 @@ - org.gemoc.execution.sequential.javaxdsml.ide.ui.GemocSequentialLanguageBuilder + org.eclipse.gemoc.xdsmlframework.ide.ui.GemocLanguageProjectBuilder - org.gemoc.execution.sequential.javaxdsml.ide.ui.GemocSequentialLanguageNature + org.eclipse.gemoc.xdsmlframework.ide.ui.GemocLanguageProjectNature + org.eclipse.gemoc.execution.sequential.javaxdsml.ide.ui.GemocSequentialLanguageNature org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature org.eclipse.xtext.ui.shared.xtextNature diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.core.resources.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.jdt.core.prefs b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.jdt.core.prefs index 3a215370..8c9943d5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.jdt.core.prefs +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/.settings/org.eclipse.jdt.core.prefs @@ -1,11 +1,14 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/META-INF/MANIFEST.MF b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/META-INF/MANIFEST.MF index 6ae3a8d4..ea22fc98 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/META-INF/MANIFEST.MF +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/META-INF/MANIFEST.MF @@ -7,6 +7,7 @@ Export-Package: org.gemoc.arduino.sequential, org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino, org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt Bundle-Name: Arduino +Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Version: 1.0.0.qualifier Require-Bundle: fr.inria.diverse.k3.al.annotationprocessor.plugin, org.eclipse.xtend.lib, @@ -16,7 +17,6 @@ Require-Bundle: fr.inria.diverse.k3.al.annotationprocessor.plugin, org.eclipse.emf.common, org.eclipse.gemoc.executionframework.extensions.sirius, org.eclipse.gemoc.execution.sequential.javaengine, - org.eclipse.gemoc.execution.sequential.javaxdsml.api, org.eclipse.gemoc.executionframework.engine, org.eclipse.gemoc.xdsmlframework.extensions.sirius, fr.inria.diverse.melange.adapters, @@ -26,4 +26,4 @@ Require-Bundle: fr.inria.diverse.k3.al.annotationprocessor.plugin, org.gemoc.arduino.sequential.k3dsa, org.gemoc.arduino.sequential.xarduino Bundle-ManifestVersion: 2 - +Automatic-Module-Name: org.gemoc.arduino.sequential diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/build.properties b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/build.properties index 4520f00c..03f95aa3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/build.properties +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/build.properties @@ -2,6 +2,7 @@ #Tue Sep 08 16:31:02 CEST 2015 bin.includes = META-INF/,\ .,\ - project.xdsml,\ plugin.xml -source..=xtend-gen/,src/ +source.. = src/main/java/,\ + src-gen/ +output.. = bin/ diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/plugin.xml b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/plugin.xml index 2d915743..080e930d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/plugin.xml +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/plugin.xml @@ -1,12 +1,12 @@ - - + - - + + + diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/StandaloneSetup.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/StandaloneSetup.java index dff680ff..402f6366 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/StandaloneSetup.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/StandaloneSetup.java @@ -14,7 +14,7 @@ public static void doSetup() { setup.doEMFRegistration(); setup.doAdaptersRegistration(); } - + public void doEMFRegistration() { EPackage.Registry.INSTANCE.put( org.gemoc.arduino.sequential.xarduino.arduino.ArduinoPackage.eNS_URI, @@ -30,7 +30,7 @@ public void doEMFRegistration() { new MelangeResourceFactoryImpl() ); } - + public void doAdaptersRegistration() { MelangeRegistry.LanguageDescriptor xArduino = new MelangeRegistryImpl.LanguageDescriptorImpl( "org.gemoc.arduino.sequential.XArduino", "", "http://org.gemoc.arduino.sequential.xarduino/arduino/", "org.gemoc.arduino.sequential.XArduinoMT" diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduino.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduino.java index cead545b..461e6c65 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduino.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduino.java @@ -5,20 +5,19 @@ import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.resource.ResourceSet; import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.gemoc.arduino.sequential.XArduinoMT; @SuppressWarnings("all") public class XArduino implements IMetamodel { private Resource resource; - + public Resource getResource() { return this.resource; } - + public void setResource(final Resource resource) { this.resource = resource; } - + public static XArduino load(final String uri) { ResourceSet rs = new ResourceSetImpl(); Resource res = rs.getResource(URI.createURI(uri), true); @@ -26,7 +25,7 @@ public static XArduino load(final String uri) { mm.setResource(res); return mm ; } - + public XArduinoMT toXArduinoMT() { org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoAdapter adaptee = new org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoAdapter() ; adaptee.setAdaptee(resource); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduinoMT.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduinoMT.java index 9eb20ba2..40970c80 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduinoMT.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/XArduinoMT.java @@ -8,9 +8,9 @@ @SuppressWarnings("all") public interface XArduinoMT extends IModelType { - public abstract EList getContents(); - - public abstract ArduinoFactory getArduinoFactory(); - - public abstract void save(final String uri) throws IOException; + public EList getContents(); + + public ArduinoFactory getArduinoFactory(); + + public void save(final String uri) throws IOException; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoAdapter.java index 8ea84b7a..35466161 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoAdapter.java @@ -12,19 +12,19 @@ public class XArduinoAdapter extends ResourceAdapter implements XArduinoMT { public XArduinoAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); } - + @Override public ArduinoFactory getArduinoFactory() { return new org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoFactoryAdapter(); } - + @Override public Set getFactories() { java.util.Set res = new java.util.HashSet(); res.add(getArduinoFactory()); return res; } - + @Override public void save(final String uri) throws IOException { this.adaptee.setURI(URI.createURI(uri)); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoMTAdaptersFactory.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoMTAdaptersFactory.java index f8865628..9881dcc5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoMTAdaptersFactory.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/XArduinoMTAdaptersFactory.java @@ -124,20 +124,20 @@ @SuppressWarnings("all") public class XArduinoMTAdaptersFactory implements AdaptersFactory { private static XArduinoMTAdaptersFactory instance; - + public static XArduinoMTAdaptersFactory getInstance() { if (instance == null) { instance = new org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory(); } return instance; } - + private WeakHashMap register; - + public XArduinoMTAdaptersFactory() { register = new WeakHashMap(); } - + public EObjectAdapter createAdapter(final EObject o, final Resource res) { if (o instanceof org.gemoc.arduino.sequential.xarduino.arduino.DigitalPin){ return createDigitalPinAdapter((org.gemoc.arduino.sequential.xarduino.arduino.DigitalPin) o, res); @@ -250,7 +250,7 @@ public EObjectAdapter createAdapter(final EObject o, final Resource res) { return null; } - + public BoardAdapter createBoardAdapter(final Board adaptee, final Resource res) { if (adaptee == null) return null; @@ -265,7 +265,7 @@ public BoardAdapter createBoardAdapter(final Board adaptee, final Resource res) return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BoardAdapter) adapter; } } - + public ModuleAdapter createModuleAdapter(final org.gemoc.arduino.sequential.xarduino.arduino.Module adaptee, final Resource res) { if (adaptee == null) return null; @@ -280,7 +280,7 @@ public ModuleAdapter createModuleAdapter(final org.gemoc.arduino.sequential.xard return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAdapter) adapter; } } - + public DigitalPinAdapter createDigitalPinAdapter(final DigitalPin adaptee, final Resource res) { if (adaptee == null) return null; @@ -295,7 +295,7 @@ public DigitalPinAdapter createDigitalPinAdapter(final DigitalPin adaptee, final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.DigitalPinAdapter) adapter; } } - + public PinAdapter createPinAdapter(final Pin adaptee, final Resource res) { if (adaptee == null) return null; @@ -310,7 +310,7 @@ public PinAdapter createPinAdapter(final Pin adaptee, final Resource res) { return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.PinAdapter) adapter; } } - + public AnalogPinAdapter createAnalogPinAdapter(final AnalogPin adaptee, final Resource res) { if (adaptee == null) return null; @@ -325,7 +325,7 @@ public AnalogPinAdapter createAnalogPinAdapter(final AnalogPin adaptee, final Re return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.AnalogPinAdapter) adapter; } } - + public SketchAdapter createSketchAdapter(final Sketch adaptee, final Resource res) { if (adaptee == null) return null; @@ -340,7 +340,7 @@ public SketchAdapter createSketchAdapter(final Sketch adaptee, final Resource re return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.SketchAdapter) adapter; } } - + public ProjectAdapter createProjectAdapter(final Project adaptee, final Resource res) { if (adaptee == null) return null; @@ -355,7 +355,7 @@ public ProjectAdapter createProjectAdapter(final Project adaptee, final Resource return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ProjectAdapter) adapter; } } - + public InstructionAdapter createInstructionAdapter(final Instruction adaptee, final Resource res) { if (adaptee == null) return null; @@ -370,7 +370,7 @@ public InstructionAdapter createInstructionAdapter(final Instruction adaptee, fi return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.InstructionAdapter) adapter; } } - + public ModuleAssignmentAdapter createModuleAssignmentAdapter(final ModuleAssignment adaptee, final Resource res) { if (adaptee == null) return null; @@ -385,7 +385,7 @@ public ModuleAssignmentAdapter createModuleAssignmentAdapter(final ModuleAssignm return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAssignmentAdapter) adapter; } } - + public ModuleInstructionAdapter createModuleInstructionAdapter(final ModuleInstruction adaptee, final Resource res) { if (adaptee == null) return null; @@ -400,7 +400,7 @@ public ModuleInstructionAdapter createModuleInstructionAdapter(final ModuleInstr return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleInstructionAdapter) adapter; } } - + public ControlAdapter createControlAdapter(final Control adaptee, final Resource res) { if (adaptee == null) return null; @@ -415,7 +415,7 @@ public ControlAdapter createControlAdapter(final Control adaptee, final Resource return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ControlAdapter) adapter; } } - + public UtilitiesAdapter createUtilitiesAdapter(final Utilities adaptee, final Resource res) { if (adaptee == null) return null; @@ -430,7 +430,7 @@ public UtilitiesAdapter createUtilitiesAdapter(final Utilities adaptee, final Re return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.UtilitiesAdapter) adapter; } } - + public DelayAdapter createDelayAdapter(final Delay adaptee, final Resource res) { if (adaptee == null) return null; @@ -445,7 +445,7 @@ public DelayAdapter createDelayAdapter(final Delay adaptee, final Resource res) return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.DelayAdapter) adapter; } } - + public NamedElementAdapter createNamedElementAdapter(final NamedElement adaptee, final Resource res) { if (adaptee == null) return null; @@ -460,7 +460,7 @@ public NamedElementAdapter createNamedElementAdapter(final NamedElement adaptee, return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.NamedElementAdapter) adapter; } } - + public RepeatAdapter createRepeatAdapter(final Repeat adaptee, final Resource res) { if (adaptee == null) return null; @@ -475,7 +475,7 @@ public RepeatAdapter createRepeatAdapter(final Repeat adaptee, final Resource re return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.RepeatAdapter) adapter; } } - + public ModuleGetAdapter createModuleGetAdapter(final ModuleGet adaptee, final Resource res) { if (adaptee == null) return null; @@ -490,7 +490,7 @@ public ModuleGetAdapter createModuleGetAdapter(final ModuleGet adaptee, final Re return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleGetAdapter) adapter; } } - + public WhileAdapter createWhileAdapter(final While adaptee, final Resource res) { if (adaptee == null) return null; @@ -505,7 +505,7 @@ public WhileAdapter createWhileAdapter(final While adaptee, final Resource res) return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.WhileAdapter) adapter; } } - + public BinaryExpressionAdapter createBinaryExpressionAdapter(final BinaryExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -520,7 +520,7 @@ public BinaryExpressionAdapter createBinaryExpressionAdapter(final BinaryExpress return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BinaryExpressionAdapter) adapter; } } - + public VariableAdapter createVariableAdapter(final Variable adaptee, final Resource res) { if (adaptee == null) return null; @@ -535,7 +535,7 @@ public VariableAdapter createVariableAdapter(final Variable adaptee, final Resou return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.VariableAdapter) adapter; } } - + public VariableAssignmentAdapter createVariableAssignmentAdapter(final VariableAssignment adaptee, final Resource res) { if (adaptee == null) return null; @@ -550,7 +550,7 @@ public VariableAssignmentAdapter createVariableAssignmentAdapter(final VariableA return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.VariableAssignmentAdapter) adapter; } } - + public BinaryIntegerExpressionAdapter createBinaryIntegerExpressionAdapter(final BinaryIntegerExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -565,7 +565,7 @@ public BinaryIntegerExpressionAdapter createBinaryIntegerExpressionAdapter(final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BinaryIntegerExpressionAdapter) adapter; } } - + public BinaryBooleanExpressionAdapter createBinaryBooleanExpressionAdapter(final BinaryBooleanExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -580,7 +580,7 @@ public BinaryBooleanExpressionAdapter createBinaryBooleanExpressionAdapter(final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BinaryBooleanExpressionAdapter) adapter; } } - + public ExpressionAdapter createExpressionAdapter(final Expression adaptee, final Resource res) { if (adaptee == null) return null; @@ -595,7 +595,7 @@ public ExpressionAdapter createExpressionAdapter(final Expression adaptee, final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) adapter; } } - + public ConstantAdapter createConstantAdapter(final Constant adaptee, final Resource res) { if (adaptee == null) return null; @@ -610,7 +610,7 @@ public ConstantAdapter createConstantAdapter(final Constant adaptee, final Resou return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ConstantAdapter) adapter; } } - + public IfAdapter createIfAdapter(final If adaptee, final Resource res) { if (adaptee == null) return null; @@ -625,7 +625,7 @@ public IfAdapter createIfAdapter(final If adaptee, final Resource res) { return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IfAdapter) adapter; } } - + public IntegerConstantAdapter createIntegerConstantAdapter(final IntegerConstant adaptee, final Resource res) { if (adaptee == null) return null; @@ -640,7 +640,7 @@ public IntegerConstantAdapter createIntegerConstantAdapter(final IntegerConstant return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IntegerConstantAdapter) adapter; } } - + public BooleanConstantAdapter createBooleanConstantAdapter(final BooleanConstant adaptee, final Resource res) { if (adaptee == null) return null; @@ -655,7 +655,7 @@ public BooleanConstantAdapter createBooleanConstantAdapter(final BooleanConstant return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanConstantAdapter) adapter; } } - + public BooleanExpressionAdapter createBooleanExpressionAdapter(final BooleanExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -670,7 +670,7 @@ public BooleanExpressionAdapter createBooleanExpressionAdapter(final BooleanExpr return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanExpressionAdapter) adapter; } } - + public IntegerExpressionAdapter createIntegerExpressionAdapter(final IntegerExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -685,7 +685,7 @@ public IntegerExpressionAdapter createIntegerExpressionAdapter(final IntegerExpr return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IntegerExpressionAdapter) adapter; } } - + public AssignmentAdapter createAssignmentAdapter(final Assignment adaptee, final Resource res) { if (adaptee == null) return null; @@ -700,7 +700,7 @@ public AssignmentAdapter createAssignmentAdapter(final Assignment adaptee, final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.AssignmentAdapter) adapter; } } - + public IntegerVariableAdapter createIntegerVariableAdapter(final IntegerVariable adaptee, final Resource res) { if (adaptee == null) return null; @@ -715,7 +715,7 @@ public IntegerVariableAdapter createIntegerVariableAdapter(final IntegerVariable return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IntegerVariableAdapter) adapter; } } - + public BooleanVariableAdapter createBooleanVariableAdapter(final BooleanVariable adaptee, final Resource res) { if (adaptee == null) return null; @@ -730,7 +730,7 @@ public BooleanVariableAdapter createBooleanVariableAdapter(final BooleanVariable return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanVariableAdapter) adapter; } } - + public BooleanModuleGetAdapter createBooleanModuleGetAdapter(final BooleanModuleGet adaptee, final Resource res) { if (adaptee == null) return null; @@ -745,7 +745,7 @@ public BooleanModuleGetAdapter createBooleanModuleGetAdapter(final BooleanModule return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanModuleGetAdapter) adapter; } } - + public IntegerModuleGetAdapter createIntegerModuleGetAdapter(final IntegerModuleGet adaptee, final Resource res) { if (adaptee == null) return null; @@ -760,7 +760,7 @@ public IntegerModuleGetAdapter createIntegerModuleGetAdapter(final IntegerModule return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IntegerModuleGetAdapter) adapter; } } - + public UnaryExpressionAdapter createUnaryExpressionAdapter(final UnaryExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -775,7 +775,7 @@ public UnaryExpressionAdapter createUnaryExpressionAdapter(final UnaryExpression return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.UnaryExpressionAdapter) adapter; } } - + public UnaryBooleanExpressionAdapter createUnaryBooleanExpressionAdapter(final UnaryBooleanExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -790,7 +790,7 @@ public UnaryBooleanExpressionAdapter createUnaryBooleanExpressionAdapter(final U return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.UnaryBooleanExpressionAdapter) adapter; } } - + public UnaryIntegerExpressionAdapter createUnaryIntegerExpressionAdapter(final UnaryIntegerExpression adaptee, final Resource res) { if (adaptee == null) return null; @@ -805,7 +805,7 @@ public UnaryIntegerExpressionAdapter createUnaryIntegerExpressionAdapter(final U return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.UnaryIntegerExpressionAdapter) adapter; } } - + public VariableDeclarationAdapter createVariableDeclarationAdapter(final VariableDeclaration adaptee, final Resource res) { if (adaptee == null) return null; @@ -820,7 +820,7 @@ public VariableDeclarationAdapter createVariableDeclarationAdapter(final Variabl return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.VariableDeclarationAdapter) adapter; } } - + public VariableRefAdapter createVariableRefAdapter(final VariableRef adaptee, final Resource res) { if (adaptee == null) return null; @@ -835,7 +835,7 @@ public VariableRefAdapter createVariableRefAdapter(final VariableRef adaptee, fi return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.VariableRefAdapter) adapter; } } - + public IntegerVariableRefAdapter createIntegerVariableRefAdapter(final IntegerVariableRef adaptee, final Resource res) { if (adaptee == null) return null; @@ -850,7 +850,7 @@ public IntegerVariableRefAdapter createIntegerVariableRefAdapter(final IntegerVa return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IntegerVariableRefAdapter) adapter; } } - + public LEDAdapter createLEDAdapter(final LED adaptee, final Resource res) { if (adaptee == null) return null; @@ -865,7 +865,7 @@ public LEDAdapter createLEDAdapter(final LED adaptee, final Resource res) { return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.LEDAdapter) adapter; } } - + public PushButtonAdapter createPushButtonAdapter(final PushButton adaptee, final Resource res) { if (adaptee == null) return null; @@ -880,7 +880,7 @@ public PushButtonAdapter createPushButtonAdapter(final PushButton adaptee, final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.PushButtonAdapter) adapter; } } - + public BuzzerAdapter createBuzzerAdapter(final Buzzer adaptee, final Resource res) { if (adaptee == null) return null; @@ -895,7 +895,7 @@ public BuzzerAdapter createBuzzerAdapter(final Buzzer adaptee, final Resource re return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BuzzerAdapter) adapter; } } - + public RotationSensorAdapter createRotationSensorAdapter(final RotationSensor adaptee, final Resource res) { if (adaptee == null) return null; @@ -910,7 +910,7 @@ public RotationSensorAdapter createRotationSensorAdapter(final RotationSensor ad return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.RotationSensorAdapter) adapter; } } - + public MicroServoAdapter createMicroServoAdapter(final MicroServo adaptee, final Resource res) { if (adaptee == null) return null; @@ -925,7 +925,7 @@ public MicroServoAdapter createMicroServoAdapter(final MicroServo adaptee, final return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.MicroServoAdapter) adapter; } } - + public InfraRedSensorAdapter createInfraRedSensorAdapter(final InfraRedSensor adaptee, final Resource res) { if (adaptee == null) return null; @@ -940,7 +940,7 @@ public InfraRedSensorAdapter createInfraRedSensorAdapter(final InfraRedSensor ad return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.InfraRedSensorAdapter) adapter; } } - + public AmbientLightSensorAdapter createAmbientLightSensorAdapter(final AmbientLightSensor adaptee, final Resource res) { if (adaptee == null) return null; @@ -955,7 +955,7 @@ public AmbientLightSensorAdapter createAmbientLightSensorAdapter(final AmbientLi return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.AmbientLightSensorAdapter) adapter; } } - + public SoundSensorAdapter createSoundSensorAdapter(final SoundSensor adaptee, final Resource res) { if (adaptee == null) return null; @@ -970,7 +970,7 @@ public SoundSensorAdapter createSoundSensorAdapter(final SoundSensor adaptee, fi return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.SoundSensorAdapter) adapter; } } - + public FanAdapter createFanAdapter(final Fan adaptee, final Resource res) { if (adaptee == null) return null; @@ -985,7 +985,7 @@ public FanAdapter createFanAdapter(final Fan adaptee, final Resource res) { return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.FanAdapter) adapter; } } - + public MusicPlayerAdapter createMusicPlayerAdapter(final MusicPlayer adaptee, final Resource res) { if (adaptee == null) return null; @@ -1000,7 +1000,7 @@ public MusicPlayerAdapter createMusicPlayerAdapter(final MusicPlayer adaptee, fi return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.MusicPlayerAdapter) adapter; } } - + public ArduinoModuleAdapter createArduinoModuleAdapter(final ArduinoModule adaptee, final Resource res) { if (adaptee == null) return null; @@ -1015,7 +1015,7 @@ public ArduinoModuleAdapter createArduinoModuleAdapter(final ArduinoModule adapt return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoModuleAdapter) adapter; } } - + public BlockAdapter createBlockAdapter(final Block adaptee, final Resource res) { if (adaptee == null) return null; @@ -1030,7 +1030,7 @@ public BlockAdapter createBlockAdapter(final Block adaptee, final Resource res) return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) adapter; } } - + public ArduinoBoardAdapter createArduinoBoardAdapter(final ArduinoBoard adaptee, final Resource res) { if (adaptee == null) return null; @@ -1045,7 +1045,7 @@ public ArduinoBoardAdapter createArduinoBoardAdapter(final ArduinoBoard adaptee, return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoBoardAdapter) adapter; } } - + public ArduinoDigitalModuleAdapter createArduinoDigitalModuleAdapter(final ArduinoDigitalModule adaptee, final Resource res) { if (adaptee == null) return null; @@ -1060,7 +1060,7 @@ public ArduinoDigitalModuleAdapter createArduinoDigitalModuleAdapter(final Ardui return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoDigitalModuleAdapter) adapter; } } - + public ArduinoAnalogModuleAdapter createArduinoAnalogModuleAdapter(final ArduinoAnalogModule adaptee, final Resource res) { if (adaptee == null) return null; @@ -1075,7 +1075,7 @@ public ArduinoAnalogModuleAdapter createArduinoAnalogModuleAdapter(final Arduino return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoAnalogModuleAdapter) adapter; } } - + public BooleanVariableRefAdapter createBooleanVariableRefAdapter(final BooleanVariableRef adaptee, final Resource res) { if (adaptee == null) return null; @@ -1090,7 +1090,7 @@ public BooleanVariableRefAdapter createBooleanVariableRefAdapter(final BooleanVa return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanVariableRefAdapter) adapter; } } - + public ArduinoCommunicationModuleAdapter createArduinoCommunicationModuleAdapter(final ArduinoCommunicationModule adaptee, final Resource res) { if (adaptee == null) return null; @@ -1105,7 +1105,7 @@ public ArduinoCommunicationModuleAdapter createArduinoCommunicationModuleAdapter return (org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoCommunicationModuleAdapter) adapter; } } - + public BluetoothTransceiverAdapter createBluetoothTransceiverAdapter(final BluetoothTransceiver adaptee, final Resource res) { if (adaptee == null) return null; diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AmbientLightSensorAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AmbientLightSensorAdapter.java index 5fbf7e32..470a4493 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AmbientLightSensorAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AmbientLightSensorAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class AmbientLightSensorAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.AmbientLightSensor { private XArduinoMTAdaptersFactory adaptersFactory; - + public AmbientLightSensorAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getAmbientLightSensor(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AnalogPinAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AnalogPinAdapter.java index 88540d0d..539ef47e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AnalogPinAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AnalogPinAdapter.java @@ -9,54 +9,54 @@ @SuppressWarnings("all") public class AnalogPinAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.AnalogPin { private XArduinoMTAdaptersFactory adaptersFactory; - + public AnalogPinAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public ArduinoAnalogModule getModule() { return (ArduinoAnalogModule) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final ArduinoAnalogModule o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoAnalogModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public Integer getLevel() { return org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect.level(adaptee); } - + @Override public void setLevel(final Integer level) { org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect.level(adaptee, level ); } - - protected final static String NAME_EDEFAULT = null; - - protected final static Integer LEVEL_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + + protected static final Integer LEVEL_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getAnalogPin(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -70,7 +70,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -84,7 +84,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoAnalogModuleAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoAnalogModuleAdapter.java index e9dac577..cd497016 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoAnalogModuleAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoAnalogModuleAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class ArduinoAnalogModuleAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoAnalogModule { private XArduinoMTAdaptersFactory adaptersFactory; - + public ArduinoAnalogModuleAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getArduinoAnalogModule(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoBoardAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoBoardAdapter.java index 06789ce1..86d71cd1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoBoardAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoBoardAdapter.java @@ -13,59 +13,59 @@ @SuppressWarnings("all") public class ArduinoBoardAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoBoard { private XArduinoMTAdaptersFactory adaptersFactory; - + public ArduinoBoardAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public Project getProject() { return (Project) adaptersFactory.createAdapter(adaptee.getProject(), eResource); } - + @Override public void setProject(final Project o) { if (o != null) adaptee.setProject(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ProjectAdapter) o).getAdaptee()); else adaptee.setProject(null); } - + private EList digitalPins_; - + @Override public EList getDigitalPins() { if (digitalPins_ == null) digitalPins_ = fr.inria.diverse.melange.adapters.EListAdapter.newInstance(adaptee.getDigitalPins(), adaptersFactory, eResource); return digitalPins_; } - + private EList analogPins_; - + @Override public EList getAnalogPins() { if (analogPins_ == null) analogPins_ = fr.inria.diverse.melange.adapters.EListAdapter.newInstance(adaptee.getAnalogPins(), adaptersFactory, eResource); return analogPins_; } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getArduinoBoard(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -81,7 +81,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -97,7 +97,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoCommunicationModuleAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoCommunicationModuleAdapter.java index aa7b59b5..b37cd544 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoCommunicationModuleAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoCommunicationModuleAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class ArduinoCommunicationModuleAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoCommunicationModule { private XArduinoMTAdaptersFactory adaptersFactory; - + public ArduinoCommunicationModuleAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public void push() { org.gemoc.arduino.sequential.xarduino.aspects.ArduinoCommunicationModule_PushAspect.push(adaptee); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getArduinoCommunicationModule(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoDigitalModuleAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoDigitalModuleAdapter.java index f3ccb10b..7c1061e0 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoDigitalModuleAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoDigitalModuleAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class ArduinoDigitalModuleAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoDigitalModule { private XArduinoMTAdaptersFactory adaptersFactory; - + public ArduinoDigitalModuleAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getArduinoDigitalModule(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoFactoryAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoFactoryAdapter.java index f660992c..2d4b0299 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoFactoryAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoFactoryAdapter.java @@ -45,194 +45,194 @@ @SuppressWarnings("all") public class ArduinoFactoryAdapter extends EFactoryImpl implements ArduinoFactory { private XArduinoMTAdaptersFactory adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); - + private org.gemoc.arduino.sequential.xarduino.arduino.ArduinoFactory arduinoAdaptee = org.gemoc.arduino.sequential.xarduino.arduino.ArduinoFactory.eINSTANCE; - + @Override public DigitalPin createDigitalPin() { return adaptersFactory.createDigitalPinAdapter(arduinoAdaptee.createDigitalPin(), null); } - + @Override public AnalogPin createAnalogPin() { return adaptersFactory.createAnalogPinAdapter(arduinoAdaptee.createAnalogPin(), null); } - + @Override public Sketch createSketch() { return adaptersFactory.createSketchAdapter(arduinoAdaptee.createSketch(), null); } - + @Override public Project createProject() { return adaptersFactory.createProjectAdapter(arduinoAdaptee.createProject(), null); } - + @Override public ModuleAssignment createModuleAssignment() { return adaptersFactory.createModuleAssignmentAdapter(arduinoAdaptee.createModuleAssignment(), null); } - + @Override public Delay createDelay() { return adaptersFactory.createDelayAdapter(arduinoAdaptee.createDelay(), null); } - + @Override public Repeat createRepeat() { return adaptersFactory.createRepeatAdapter(arduinoAdaptee.createRepeat(), null); } - + @Override public While createWhile() { return adaptersFactory.createWhileAdapter(arduinoAdaptee.createWhile(), null); } - + @Override public VariableAssignment createVariableAssignment() { return adaptersFactory.createVariableAssignmentAdapter(arduinoAdaptee.createVariableAssignment(), null); } - + @Override public BinaryIntegerExpression createBinaryIntegerExpression() { return adaptersFactory.createBinaryIntegerExpressionAdapter(arduinoAdaptee.createBinaryIntegerExpression(), null); } - + @Override public BinaryBooleanExpression createBinaryBooleanExpression() { return adaptersFactory.createBinaryBooleanExpressionAdapter(arduinoAdaptee.createBinaryBooleanExpression(), null); } - + @Override public If createIf() { return adaptersFactory.createIfAdapter(arduinoAdaptee.createIf(), null); } - + @Override public IntegerConstant createIntegerConstant() { return adaptersFactory.createIntegerConstantAdapter(arduinoAdaptee.createIntegerConstant(), null); } - + @Override public BooleanConstant createBooleanConstant() { return adaptersFactory.createBooleanConstantAdapter(arduinoAdaptee.createBooleanConstant(), null); } - + @Override public IntegerVariable createIntegerVariable() { return adaptersFactory.createIntegerVariableAdapter(arduinoAdaptee.createIntegerVariable(), null); } - + @Override public BooleanVariable createBooleanVariable() { return adaptersFactory.createBooleanVariableAdapter(arduinoAdaptee.createBooleanVariable(), null); } - + @Override public BooleanModuleGet createBooleanModuleGet() { return adaptersFactory.createBooleanModuleGetAdapter(arduinoAdaptee.createBooleanModuleGet(), null); } - + @Override public IntegerModuleGet createIntegerModuleGet() { return adaptersFactory.createIntegerModuleGetAdapter(arduinoAdaptee.createIntegerModuleGet(), null); } - + @Override public UnaryBooleanExpression createUnaryBooleanExpression() { return adaptersFactory.createUnaryBooleanExpressionAdapter(arduinoAdaptee.createUnaryBooleanExpression(), null); } - + @Override public UnaryIntegerExpression createUnaryIntegerExpression() { return adaptersFactory.createUnaryIntegerExpressionAdapter(arduinoAdaptee.createUnaryIntegerExpression(), null); } - + @Override public VariableDeclaration createVariableDeclaration() { return adaptersFactory.createVariableDeclarationAdapter(arduinoAdaptee.createVariableDeclaration(), null); } - + @Override public IntegerVariableRef createIntegerVariableRef() { return adaptersFactory.createIntegerVariableRefAdapter(arduinoAdaptee.createIntegerVariableRef(), null); } - + @Override public LED createLED() { return adaptersFactory.createLEDAdapter(arduinoAdaptee.createLED(), null); } - + @Override public PushButton createPushButton() { return adaptersFactory.createPushButtonAdapter(arduinoAdaptee.createPushButton(), null); } - + @Override public Buzzer createBuzzer() { return adaptersFactory.createBuzzerAdapter(arduinoAdaptee.createBuzzer(), null); } - + @Override public RotationSensor createRotationSensor() { return adaptersFactory.createRotationSensorAdapter(arduinoAdaptee.createRotationSensor(), null); } - + @Override public MicroServo createMicroServo() { return adaptersFactory.createMicroServoAdapter(arduinoAdaptee.createMicroServo(), null); } - + @Override public InfraRedSensor createInfraRedSensor() { return adaptersFactory.createInfraRedSensorAdapter(arduinoAdaptee.createInfraRedSensor(), null); } - + @Override public AmbientLightSensor createAmbientLightSensor() { return adaptersFactory.createAmbientLightSensorAdapter(arduinoAdaptee.createAmbientLightSensor(), null); } - + @Override public SoundSensor createSoundSensor() { return adaptersFactory.createSoundSensorAdapter(arduinoAdaptee.createSoundSensor(), null); } - + @Override public Fan createFan() { return adaptersFactory.createFanAdapter(arduinoAdaptee.createFan(), null); } - + @Override public MusicPlayer createMusicPlayer() { return adaptersFactory.createMusicPlayerAdapter(arduinoAdaptee.createMusicPlayer(), null); } - + @Override public Block createBlock() { return adaptersFactory.createBlockAdapter(arduinoAdaptee.createBlock(), null); } - + @Override public ArduinoBoard createArduinoBoard() { return adaptersFactory.createArduinoBoardAdapter(arduinoAdaptee.createArduinoBoard(), null); } - + @Override public BooleanVariableRef createBooleanVariableRef() { return adaptersFactory.createBooleanVariableRefAdapter(arduinoAdaptee.createBooleanVariableRef(), null); } - + @Override public BluetoothTransceiver createBluetoothTransceiver() { return adaptersFactory.createBluetoothTransceiverAdapter(arduinoAdaptee.createBluetoothTransceiver(), null); } - + @Override public EPackage getEPackage() { return getArduinoPackage(); } - + public ArduinoPackage getArduinoPackage() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoModuleAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoModuleAdapter.java index c398e53f..8379bd9b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoModuleAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ArduinoModuleAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class ArduinoModuleAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoModule { private XArduinoMTAdaptersFactory adaptersFactory; - + public ArduinoModuleAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getArduinoModule(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AssignmentAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AssignmentAdapter.java index 87218548..a031e027 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AssignmentAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/AssignmentAdapter.java @@ -9,39 +9,39 @@ @SuppressWarnings("all") public class AssignmentAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Assignment { private XArduinoMTAdaptersFactory adaptersFactory; - + public AssignmentAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Expression getOperand() { return (Expression) adaptersFactory.createAdapter(adaptee.getOperand(), eResource); } - + @Override public void setOperand(final Expression o) { if (o != null) adaptee.setOperand(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setOperand(null); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getAssignment(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -51,7 +51,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -61,7 +61,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryBooleanExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryBooleanExpressionAdapter.java index ebaf7dc8..8f91f55e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryBooleanExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryBooleanExpressionAdapter.java @@ -10,58 +10,58 @@ @SuppressWarnings("all") public class BinaryBooleanExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryBooleanExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public BinaryBooleanExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public BinaryBooleanOperatorKind getOperator() { return org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryBooleanOperatorKind.get(adaptee.getOperator().getValue()); } - + @Override public void setOperator(final BinaryBooleanOperatorKind o) { adaptee.setOperator(org.gemoc.arduino.sequential.xarduino.arduino.BinaryBooleanOperatorKind.get(o.getValue())); } - + @Override public Expression getLeft() { return (Expression) adaptersFactory.createAdapter(adaptee.getLeft(), eResource); } - + @Override public void setLeft(final Expression o) { if (o != null) adaptee.setLeft(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setLeft(null); } - + @Override public Expression getRight() { return (Expression) adaptersFactory.createAdapter(adaptee.getRight(), eResource); } - + @Override public void setRight(final Expression o) { if (o != null) adaptee.setRight(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setRight(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.BinaryBooleanExpression_EvaluableAspect.evaluate(adaptee); } - - protected final static BinaryBooleanOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryBooleanOperatorKind.INF; - + + protected static final BinaryBooleanOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryBooleanOperatorKind.INF; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBinaryBooleanExpression(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -75,7 +75,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -89,7 +89,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryExpressionAdapter.java index 5f4eb746..2c42d633 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryExpressionAdapter.java @@ -9,46 +9,46 @@ @SuppressWarnings("all") public class BinaryExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public BinaryExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Expression getLeft() { return (Expression) adaptersFactory.createAdapter(adaptee.getLeft(), eResource); } - + @Override public void setLeft(final Expression o) { if (o != null) adaptee.setLeft(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setLeft(null); } - + @Override public Expression getRight() { return (Expression) adaptersFactory.createAdapter(adaptee.getRight(), eResource); } - + @Override public void setRight(final Expression o) { if (o != null) adaptee.setRight(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setRight(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBinaryExpression(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -60,7 +60,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -72,7 +72,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryIntegerExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryIntegerExpressionAdapter.java index b7a0b6d6..ec3dbe89 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryIntegerExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BinaryIntegerExpressionAdapter.java @@ -10,58 +10,58 @@ @SuppressWarnings("all") public class BinaryIntegerExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryIntegerExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public BinaryIntegerExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public BinaryIntegerOperatorKind getOperator() { return org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryIntegerOperatorKind.get(adaptee.getOperator().getValue()); } - + @Override public void setOperator(final BinaryIntegerOperatorKind o) { adaptee.setOperator(org.gemoc.arduino.sequential.xarduino.arduino.BinaryIntegerOperatorKind.get(o.getValue())); } - + @Override public Expression getLeft() { return (Expression) adaptersFactory.createAdapter(adaptee.getLeft(), eResource); } - + @Override public void setLeft(final Expression o) { if (o != null) adaptee.setLeft(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setLeft(null); } - + @Override public Expression getRight() { return (Expression) adaptersFactory.createAdapter(adaptee.getRight(), eResource); } - + @Override public void setRight(final Expression o) { if (o != null) adaptee.setRight(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setRight(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.BinaryIntegerExpression_EvaluableAspect.evaluate(adaptee); } - - protected final static BinaryIntegerOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryIntegerOperatorKind.MINUS; - + + protected static final BinaryIntegerOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.BinaryIntegerOperatorKind.MINUS; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBinaryIntegerExpression(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -75,7 +75,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -89,7 +89,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BlockAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BlockAdapter.java index 7dc928bb..096ff6cc 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BlockAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BlockAdapter.java @@ -11,31 +11,31 @@ @SuppressWarnings("all") public class BlockAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Block { private XArduinoMTAdaptersFactory adaptersFactory; - + public BlockAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + private EList instructions_; - + @Override public EList getInstructions() { if (instructions_ == null) instructions_ = fr.inria.diverse.melange.adapters.EListAdapter.newInstance(adaptee.getInstructions(), adaptersFactory, eResource); return instructions_; } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Block_ExecutableAspect.execute(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBlock(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BluetoothTransceiverAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BluetoothTransceiverAdapter.java index 86cc2a49..b55f7137 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BluetoothTransceiverAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BluetoothTransceiverAdapter.java @@ -10,53 +10,53 @@ @SuppressWarnings("all") public class BluetoothTransceiverAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BluetoothTransceiver { private XArduinoMTAdaptersFactory adaptersFactory; - + public BluetoothTransceiverAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + private EList connectedTransceiver_; - + @Override public EList getConnectedTransceiver() { if (connectedTransceiver_ == null) connectedTransceiver_ = fr.inria.diverse.melange.adapters.EListAdapter.newInstance(adaptee.getConnectedTransceiver(), adaptersFactory, eResource); return connectedTransceiver_; } - + @Override public EList getDataReceived() { return org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspect.dataReceived(adaptee); } - + @Override public EList getDataToSend() { return org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspect.dataToSend(adaptee); } - + @Override public void push() { org.gemoc.arduino.sequential.xarduino.aspects.BluetoothTransceiver_PushAspect.push(adaptee); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBluetoothTransceiver(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -72,7 +72,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -88,7 +88,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BoardAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BoardAdapter.java index edef16d9..df6a0fae 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BoardAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BoardAdapter.java @@ -9,41 +9,41 @@ @SuppressWarnings("all") public class BoardAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Board { private XArduinoMTAdaptersFactory adaptersFactory; - + public BoardAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public Project getProject() { return (Project) adaptersFactory.createAdapter(adaptee.getProject(), eResource); } - + @Override public void setProject(final Project o) { if (o != null) adaptee.setProject(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ProjectAdapter) o).getAdaptee()); else adaptee.setProject(null); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBoard(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -55,7 +55,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -67,7 +67,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanConstantAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanConstantAdapter.java index 9bdf5e2f..2a361a19 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanConstantAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanConstantAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class BooleanConstantAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BooleanConstant { private XArduinoMTAdaptersFactory adaptersFactory; - + public BooleanConstantAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public boolean isValue() { return adaptee.isValue(); } - + @Override public void setValue(final boolean o) { adaptee.setValue(o); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.BooleanConstant_ExecutableAspect.evaluate(adaptee); } - - protected final static boolean VALUE_EDEFAULT = false; - + + protected static final boolean VALUE_EDEFAULT = false; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBooleanConstant(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanExpressionAdapter.java index 176920c8..358ad863 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanExpressionAdapter.java @@ -8,17 +8,17 @@ @SuppressWarnings("all") public class BooleanExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BooleanExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public BooleanExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBooleanExpression(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanModuleGetAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanModuleGetAdapter.java index f3fbbd8b..27f19632 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanModuleGetAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanModuleGetAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class BooleanModuleGetAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BooleanModuleGet { private XArduinoMTAdaptersFactory adaptersFactory; - + public BooleanModuleGetAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public org.gemoc.arduino.sequential.xarduinomt.arduino.Module getModule() { return (org.gemoc.arduino.sequential.xarduinomt.arduino.Module) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final org.gemoc.arduino.sequential.xarduinomt.arduino.Module o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.BooleanModuleGet_ExecutableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBooleanModuleGet(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableAdapter.java index 1d30e8fe..7f1a3271 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableAdapter.java @@ -8,59 +8,59 @@ @SuppressWarnings("all") public class BooleanVariableAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BooleanVariable { private XArduinoMTAdaptersFactory adaptersFactory; - + public BooleanVariableAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public boolean isInitialValue() { return adaptee.isInitialValue(); } - + @Override public void setInitialValue(final boolean o) { adaptee.setInitialValue(o); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect.evaluate(adaptee); } - + @Override public Boolean getValue() { return org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect.value(adaptee); } - + @Override public void setValue(final Boolean value) { org.gemoc.arduino.sequential.xarduino.aspects.BooleanVariable_EvaluableAspect.value(adaptee, value ); } - - protected final static String NAME_EDEFAULT = null; - - protected final static boolean INITIAL_VALUE_EDEFAULT = false; - - protected final static Boolean VALUE_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + + protected static final boolean INITIAL_VALUE_EDEFAULT = false; + + protected static final Boolean VALUE_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBooleanVariable(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -74,7 +74,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -88,7 +88,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableRefAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableRefAdapter.java index 52aa4724..a2e796bc 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableRefAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BooleanVariableRefAdapter.java @@ -9,34 +9,34 @@ @SuppressWarnings("all") public class BooleanVariableRefAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.BooleanVariableRef { private XArduinoMTAdaptersFactory adaptersFactory; - + public BooleanVariableRefAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public BooleanVariable getVariable() { return (BooleanVariable) adaptersFactory.createAdapter(adaptee.getVariable(), eResource); } - + @Override public void setVariable(final BooleanVariable o) { if (o != null) adaptee.setVariable(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanVariableAdapter) o).getAdaptee()); else adaptee.setVariable(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBooleanVariableRef(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -46,7 +46,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -56,7 +56,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BuzzerAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BuzzerAdapter.java index 891a38d6..4aeb00b2 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BuzzerAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/BuzzerAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class BuzzerAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Buzzer { private XArduinoMTAdaptersFactory adaptersFactory; - + public BuzzerAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getBuzzer(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ConstantAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ConstantAdapter.java index 8871101e..de48ed99 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ConstantAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ConstantAdapter.java @@ -8,17 +8,17 @@ @SuppressWarnings("all") public class ConstantAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Constant { private XArduinoMTAdaptersFactory adaptersFactory; - + public ConstantAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Constant_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getConstant(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ControlAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ControlAdapter.java index 431bc305..0fd233a9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ControlAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ControlAdapter.java @@ -9,44 +9,44 @@ @SuppressWarnings("all") public class ControlAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Control { private XArduinoMTAdaptersFactory adaptersFactory; - + public ControlAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Block getBlock() { return (Block) adaptersFactory.createAdapter(adaptee.getBlock(), eResource); } - + @Override public void setBlock(final Block o) { if (o != null) adaptee.setBlock(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) o).getAdaptee()); else adaptee.setBlock(null); } - + @Override public Boolean evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Control_EvaluableAspect.evaluate(adaptee); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Control_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getControl(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -56,7 +56,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -66,7 +66,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DelayAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DelayAdapter.java index 372558ed..08132c20 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DelayAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DelayAdapter.java @@ -9,51 +9,51 @@ @SuppressWarnings("all") public class DelayAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Delay { private XArduinoMTAdaptersFactory adaptersFactory; - + public DelayAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Time getUnit() { return org.gemoc.arduino.sequential.xarduinomt.arduino.Time.get(adaptee.getUnit().getValue()); } - + @Override public void setUnit(final Time o) { adaptee.setUnit(org.gemoc.arduino.sequential.xarduino.arduino.Time.get(o.getValue())); } - + @Override public int getValue() { return adaptee.getValue(); } - + @Override public void setValue(final int o) { adaptee.setValue(o); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Delay_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - - protected final static Time UNIT_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.Time.MILLI_SECOND; - - protected final static int VALUE_EDEFAULT = 0; - + + protected static final Time UNIT_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.Time.MILLI_SECOND; + + protected static final int VALUE_EDEFAULT = 0; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getDelay(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -65,7 +65,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -77,7 +77,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DigitalPinAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DigitalPinAdapter.java index e2f3f59b..209db61c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DigitalPinAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/DigitalPinAdapter.java @@ -9,54 +9,54 @@ @SuppressWarnings("all") public class DigitalPinAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.DigitalPin { private XArduinoMTAdaptersFactory adaptersFactory; - + public DigitalPinAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public ArduinoDigitalModule getModule() { return (ArduinoDigitalModule) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final ArduinoDigitalModule o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ArduinoDigitalModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public Integer getLevel() { return org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect.level(adaptee); } - + @Override public void setLevel(final Integer level) { org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect.level(adaptee, level ); } - - protected final static String NAME_EDEFAULT = null; - - protected final static Integer LEVEL_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + + protected static final Integer LEVEL_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getDigitalPin(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -70,7 +70,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -84,7 +84,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ExpressionAdapter.java index f5aa30e4..098586ac 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ExpressionAdapter.java @@ -8,17 +8,17 @@ @SuppressWarnings("all") public class ExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Expression { private XArduinoMTAdaptersFactory adaptersFactory; - + public ExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getExpression(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/FanAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/FanAdapter.java index b0853bb3..0d41d022 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/FanAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/FanAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class FanAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Fan { private XArduinoMTAdaptersFactory adaptersFactory; - + public FanAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getFan(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IfAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IfAdapter.java index c5a45526..7bdb5e14 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IfAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IfAdapter.java @@ -10,68 +10,68 @@ @SuppressWarnings("all") public class IfAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.If { private XArduinoMTAdaptersFactory adaptersFactory; - + public IfAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Block getBlock() { return (Block) adaptersFactory.createAdapter(adaptee.getBlock(), eResource); } - + @Override public void setBlock(final Block o) { if (o != null) adaptee.setBlock(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) o).getAdaptee()); else adaptee.setBlock(null); } - + @Override public BooleanExpression getCondition() { return (BooleanExpression) adaptersFactory.createAdapter(adaptee.getCondition(), eResource); } - + @Override public void setCondition(final BooleanExpression o) { if (o != null) adaptee.setCondition(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanExpressionAdapter) o).getAdaptee()); else adaptee.setCondition(null); } - + @Override public Block getElseBlock() { return (Block) adaptersFactory.createAdapter(adaptee.getElseBlock(), eResource); } - + @Override public void setElseBlock(final Block o) { if (o != null) adaptee.setElseBlock(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) o).getAdaptee()); else adaptee.setElseBlock(null); } - + @Override public Boolean evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.If_EvaluableAspect.evaluate(adaptee); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.If_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getIf(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -85,7 +85,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -99,7 +99,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InfraRedSensorAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InfraRedSensorAdapter.java index da0e8891..4302c0e6 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InfraRedSensorAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InfraRedSensorAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class InfraRedSensorAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.InfraRedSensor { private XArduinoMTAdaptersFactory adaptersFactory; - + public InfraRedSensorAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getInfraRedSensor(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InstructionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InstructionAdapter.java index 479a7433..621c0f46 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InstructionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/InstructionAdapter.java @@ -8,22 +8,22 @@ @SuppressWarnings("all") public class InstructionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Instruction { private XArduinoMTAdaptersFactory adaptersFactory; - + public InstructionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getInstruction(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerConstantAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerConstantAdapter.java index abea26aa..8d3d93ef 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerConstantAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerConstantAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class IntegerConstantAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.IntegerConstant { private XArduinoMTAdaptersFactory adaptersFactory; - + public IntegerConstantAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public int getValue() { return adaptee.getValue(); } - + @Override public void setValue(final int o) { adaptee.setValue(o); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.IntegerConstant_ExecutableAspect.evaluate(adaptee); } - - protected final static int VALUE_EDEFAULT = 0; - + + protected static final int VALUE_EDEFAULT = 0; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getIntegerConstant(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerExpressionAdapter.java index 6718060c..2932983b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerExpressionAdapter.java @@ -8,17 +8,17 @@ @SuppressWarnings("all") public class IntegerExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.IntegerExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public IntegerExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getIntegerExpression(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerModuleGetAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerModuleGetAdapter.java index 9f4df9a0..83ef37c5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerModuleGetAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerModuleGetAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class IntegerModuleGetAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.IntegerModuleGet { private XArduinoMTAdaptersFactory adaptersFactory; - + public IntegerModuleGetAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public org.gemoc.arduino.sequential.xarduinomt.arduino.Module getModule() { return (org.gemoc.arduino.sequential.xarduinomt.arduino.Module) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final org.gemoc.arduino.sequential.xarduinomt.arduino.Module o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.IntegerModuleGet_ExecutableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getIntegerModuleGet(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableAdapter.java index 0419c335..ad46b086 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableAdapter.java @@ -8,59 +8,59 @@ @SuppressWarnings("all") public class IntegerVariableAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.IntegerVariable { private XArduinoMTAdaptersFactory adaptersFactory; - + public IntegerVariableAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public int getInitialValue() { return adaptee.getInitialValue(); } - + @Override public void setInitialValue(final int o) { adaptee.setInitialValue(o); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect.evaluate(adaptee); } - + @Override public Integer getValue() { return org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect.value(adaptee); } - + @Override public void setValue(final Integer value) { org.gemoc.arduino.sequential.xarduino.aspects.IntegerVariable_EvaluableAspect.value(adaptee, value ); } - - protected final static String NAME_EDEFAULT = null; - - protected final static int INITIAL_VALUE_EDEFAULT = 0; - - protected final static Integer VALUE_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + + protected static final int INITIAL_VALUE_EDEFAULT = 0; + + protected static final Integer VALUE_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getIntegerVariable(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -74,7 +74,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -88,7 +88,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableRefAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableRefAdapter.java index c3c4527b..9ebdd0c5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableRefAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/IntegerVariableRefAdapter.java @@ -9,34 +9,34 @@ @SuppressWarnings("all") public class IntegerVariableRefAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.IntegerVariableRef { private XArduinoMTAdaptersFactory adaptersFactory; - + public IntegerVariableRefAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public IntegerVariable getVariable() { return (IntegerVariable) adaptersFactory.createAdapter(adaptee.getVariable(), eResource); } - + @Override public void setVariable(final IntegerVariable o) { if (o != null) adaptee.setVariable(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.IntegerVariableAdapter) o).getAdaptee()); else adaptee.setVariable(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getIntegerVariableRef(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -46,7 +46,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -56,7 +56,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/LEDAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/LEDAdapter.java index 5516fa85..87d9de5d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/LEDAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/LEDAdapter.java @@ -9,41 +9,41 @@ @SuppressWarnings("all") public class LEDAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.LED { private XArduinoMTAdaptersFactory adaptersFactory; - + public LEDAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public Color getColor() { return org.gemoc.arduino.sequential.xarduinomt.arduino.Color.get(adaptee.getColor().getValue()); } - + @Override public void setColor(final Color o) { adaptee.setColor(org.gemoc.arduino.sequential.xarduino.arduino.Color.get(o.getValue())); } - - protected final static String NAME_EDEFAULT = null; - - protected final static Color COLOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.Color.BLUE; - + + protected static final String NAME_EDEFAULT = null; + + protected static final Color COLOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.Color.BLUE; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getLED(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -55,7 +55,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -67,7 +67,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MicroServoAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MicroServoAdapter.java index f82b3e68..0d944335 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MicroServoAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MicroServoAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class MicroServoAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.MicroServo { private XArduinoMTAdaptersFactory adaptersFactory; - + public MicroServoAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getMicroServo(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAdapter.java index 1a60cda6..90287129 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAdapter.java @@ -7,29 +7,29 @@ @SuppressWarnings("all") public class ModuleAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Module { private XArduinoMTAdaptersFactory adaptersFactory; - + public ModuleAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getModule(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -39,7 +39,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -49,7 +49,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAssignmentAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAssignmentAdapter.java index 8d765665..c9c2adce 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAssignmentAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleAssignmentAdapter.java @@ -9,51 +9,51 @@ @SuppressWarnings("all") public class ModuleAssignmentAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ModuleAssignment { private XArduinoMTAdaptersFactory adaptersFactory; - + public ModuleAssignmentAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public org.gemoc.arduino.sequential.xarduinomt.arduino.Module getModule() { return (org.gemoc.arduino.sequential.xarduinomt.arduino.Module) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final org.gemoc.arduino.sequential.xarduinomt.arduino.Module o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public Expression getOperand() { return (Expression) adaptersFactory.createAdapter(adaptee.getOperand(), eResource); } - + @Override public void setOperand(final Expression o) { if (o != null) adaptee.setOperand(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setOperand(null); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.ModuleAssignment_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getModuleAssignment(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -65,7 +65,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -77,7 +77,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { @@ -95,7 +95,7 @@ public void eSet(final int featureID, final Object newValue) { super.eSet(featureID, newValue); } - + @Override public int eBaseStructuralFeatureID(final int derivedFeatureID, final Class baseClass) { if (baseClass == org.gemoc.arduino.sequential.xarduinomt.arduino.Assignment.class) { @@ -108,7 +108,7 @@ public int eBaseStructuralFeatureID(final int derivedFeatureID, final Class b return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); } - + @Override public int eDerivedStructuralFeatureID(final int baseFeatureID, final Class baseClass) { if (baseClass == org.gemoc.arduino.sequential.xarduinomt.arduino.Assignment.class) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleGetAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleGetAdapter.java index 8e2b3962..0e384101 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleGetAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleGetAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class ModuleGetAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ModuleGet { private XArduinoMTAdaptersFactory adaptersFactory; - + public ModuleGetAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public org.gemoc.arduino.sequential.xarduinomt.arduino.Module getModule() { return (org.gemoc.arduino.sequential.xarduinomt.arduino.Module) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final org.gemoc.arduino.sequential.xarduinomt.arduino.Module o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getModuleGet(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleInstructionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleInstructionAdapter.java index 7c547850..d12aca8b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleInstructionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ModuleInstructionAdapter.java @@ -8,39 +8,39 @@ @SuppressWarnings("all") public class ModuleInstructionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.ModuleInstruction { private XArduinoMTAdaptersFactory adaptersFactory; - + public ModuleInstructionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public org.gemoc.arduino.sequential.xarduinomt.arduino.Module getModule() { return (org.gemoc.arduino.sequential.xarduinomt.arduino.Module) adaptersFactory.createAdapter(adaptee.getModule(), eResource); } - + @Override public void setModule(final org.gemoc.arduino.sequential.xarduinomt.arduino.Module o) { if (o != null) adaptee.setModule(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ModuleAdapter) o).getAdaptee()); else adaptee.setModule(null); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.ModuleInstruction_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getModuleInstruction(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -50,7 +50,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -60,7 +60,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MusicPlayerAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MusicPlayerAdapter.java index 89c1efc4..787f7eee 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MusicPlayerAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/MusicPlayerAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class MusicPlayerAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.MusicPlayer { private XArduinoMTAdaptersFactory adaptersFactory; - + public MusicPlayerAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getMusicPlayer(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/NamedElementAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/NamedElementAdapter.java index b666275f..89bf9c1c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/NamedElementAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/NamedElementAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class NamedElementAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.NamedElement { private XArduinoMTAdaptersFactory adaptersFactory; - + public NamedElementAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getNamedElement(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PinAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PinAdapter.java index 4a0c26a2..3e85b553 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PinAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PinAdapter.java @@ -8,42 +8,42 @@ @SuppressWarnings("all") public class PinAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Pin { private XArduinoMTAdaptersFactory adaptersFactory; - + public PinAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public Integer getLevel() { return org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect.level(adaptee); } - + @Override public void setLevel(final Integer level) { org.gemoc.arduino.sequential.xarduino.aspects.Pin_EvaluableAspect.level(adaptee, level ); } - - protected final static String NAME_EDEFAULT = null; - - protected final static Integer LEVEL_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + + protected static final Integer LEVEL_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getPin(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -55,7 +55,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -67,7 +67,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ProjectAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ProjectAdapter.java index a7e7dc53..bdd7ba66 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ProjectAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/ProjectAdapter.java @@ -12,56 +12,56 @@ @SuppressWarnings("all") public class ProjectAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Project { private XArduinoMTAdaptersFactory adaptersFactory; - + public ProjectAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + private EList boards_; - + @Override public EList getBoards() { if (boards_ == null) boards_ = fr.inria.diverse.melange.adapters.EListAdapter.newInstance(adaptee.getBoards(), adaptersFactory, eResource); return boards_; } - + private EList sketches_; - + @Override public EList getSketches() { if (sketches_ == null) sketches_ = fr.inria.diverse.melange.adapters.EListAdapter.newInstance(adaptee.getSketches(), adaptersFactory, eResource); return sketches_; } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspect.execute(adaptee); } - + @Override public void initializeModel(final org.eclipse.emf.common.util.EList args) { org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspect.initializeModel(adaptee, args ); } - + @Override public void main() { org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspect.main(adaptee); } - + @Override public void setup() { org.gemoc.arduino.sequential.xarduino.aspects.Project_ExecutableAspect.setup(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getProject(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -73,7 +73,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -85,7 +85,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PushButtonAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PushButtonAdapter.java index 4fad7901..ae1d3cb1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PushButtonAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/PushButtonAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class PushButtonAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.PushButton { private XArduinoMTAdaptersFactory adaptersFactory; - + public PushButtonAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getPushButton(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RepeatAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RepeatAdapter.java index 56fc3254..a4af5caa 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RepeatAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RepeatAdapter.java @@ -9,56 +9,56 @@ @SuppressWarnings("all") public class RepeatAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Repeat { private XArduinoMTAdaptersFactory adaptersFactory; - + public RepeatAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public int getIteration() { return adaptee.getIteration(); } - + @Override public void setIteration(final int o) { adaptee.setIteration(o); } - + @Override public Block getBlock() { return (Block) adaptersFactory.createAdapter(adaptee.getBlock(), eResource); } - + @Override public void setBlock(final Block o) { if (o != null) adaptee.setBlock(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) o).getAdaptee()); else adaptee.setBlock(null); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Repeat_ExecutableAspect.execute(adaptee); } - + @Override public Boolean evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect.evaluate(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Repeat_EvaluableAspect.finalize(adaptee); } - - protected final static int ITERATION_EDEFAULT = 5; - + + protected static final int ITERATION_EDEFAULT = 5; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getRepeat(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -70,7 +70,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -82,7 +82,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RotationSensorAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RotationSensorAdapter.java index ecf303db..47aad218 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RotationSensorAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/RotationSensorAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class RotationSensorAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.RotationSensor { private XArduinoMTAdaptersFactory adaptersFactory; - + public RotationSensorAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getRotationSensor(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SketchAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SketchAdapter.java index 9f4d1717..876d9251 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SketchAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SketchAdapter.java @@ -11,65 +11,65 @@ @SuppressWarnings("all") public class SketchAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Sketch { private XArduinoMTAdaptersFactory adaptersFactory; - + public SketchAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public Project getProject() { return (Project) adaptersFactory.createAdapter(adaptee.getProject(), eResource); } - + @Override public void setProject(final Project o) { if (o != null) adaptee.setProject(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ProjectAdapter) o).getAdaptee()); else adaptee.setProject(null); } - + @Override public Block getBlock() { return (Block) adaptersFactory.createAdapter(adaptee.getBlock(), eResource); } - + @Override public void setBlock(final Block o) { if (o != null) adaptee.setBlock(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) o).getAdaptee()); else adaptee.setBlock(null); } - + @Override public Board getBoard() { return (Board) adaptersFactory.createAdapter(adaptee.getBoard(), eResource); } - + @Override public void setBoard(final Board o) { if (o != null) adaptee.setBoard(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BoardAdapter) o).getAdaptee()); else adaptee.setBoard(null); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getSketch(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -85,7 +85,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -101,7 +101,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SoundSensorAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SoundSensorAdapter.java index 62eccbeb..3620362c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SoundSensorAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/SoundSensorAdapter.java @@ -8,29 +8,29 @@ @SuppressWarnings("all") public class SoundSensorAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.SoundSensor { private XArduinoMTAdaptersFactory adaptersFactory; - + public SoundSensorAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getSoundSensor(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -40,7 +40,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -50,7 +50,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryBooleanExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryBooleanExpressionAdapter.java index c6f2ec7a..87db823f 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryBooleanExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryBooleanExpressionAdapter.java @@ -10,46 +10,46 @@ @SuppressWarnings("all") public class UnaryBooleanExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryBooleanExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public UnaryBooleanExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public UnaryBooleanOperatorKind getOperator() { return org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryBooleanOperatorKind.get(adaptee.getOperator().getValue()); } - + @Override public void setOperator(final UnaryBooleanOperatorKind o) { adaptee.setOperator(org.gemoc.arduino.sequential.xarduino.arduino.UnaryBooleanOperatorKind.get(o.getValue())); } - + @Override public Expression getOperand() { return (Expression) adaptersFactory.createAdapter(adaptee.getOperand(), eResource); } - + @Override public void setOperand(final Expression o) { if (o != null) adaptee.setOperand(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setOperand(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - - protected final static UnaryBooleanOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryBooleanOperatorKind.NOT; - + + protected static final UnaryBooleanOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryBooleanOperatorKind.NOT; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getUnaryBooleanExpression(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -61,7 +61,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -73,7 +73,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryExpressionAdapter.java index bbed5d33..fd5ff036 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryExpressionAdapter.java @@ -9,34 +9,34 @@ @SuppressWarnings("all") public class UnaryExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public UnaryExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Expression getOperand() { return (Expression) adaptersFactory.createAdapter(adaptee.getOperand(), eResource); } - + @Override public void setOperand(final Expression o) { if (o != null) adaptee.setOperand(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setOperand(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getUnaryExpression(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -46,7 +46,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -56,7 +56,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryIntegerExpressionAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryIntegerExpressionAdapter.java index 7d255c04..a20d10ec 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryIntegerExpressionAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UnaryIntegerExpressionAdapter.java @@ -10,46 +10,46 @@ @SuppressWarnings("all") public class UnaryIntegerExpressionAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryIntegerExpression { private XArduinoMTAdaptersFactory adaptersFactory; - + public UnaryIntegerExpressionAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public UnaryIntegerOperatorKind getOperator() { return org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryIntegerOperatorKind.get(adaptee.getOperator().getValue()); } - + @Override public void setOperator(final UnaryIntegerOperatorKind o) { adaptee.setOperator(org.gemoc.arduino.sequential.xarduino.arduino.UnaryIntegerOperatorKind.get(o.getValue())); } - + @Override public Expression getOperand() { return (Expression) adaptersFactory.createAdapter(adaptee.getOperand(), eResource); } - + @Override public void setOperand(final Expression o) { if (o != null) adaptee.setOperand(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setOperand(null); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Expression_EvaluableAspect.evaluate(adaptee); } - - protected final static UnaryIntegerOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryIntegerOperatorKind.MINUS; - + + protected static final UnaryIntegerOperatorKind OPERATOR_EDEFAULT = org.gemoc.arduino.sequential.xarduinomt.arduino.UnaryIntegerOperatorKind.MINUS; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getUnaryIntegerExpression(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -61,7 +61,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -73,7 +73,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UtilitiesAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UtilitiesAdapter.java index 2952b29a..047bc7fe 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UtilitiesAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/UtilitiesAdapter.java @@ -8,22 +8,22 @@ @SuppressWarnings("all") public class UtilitiesAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Utilities { private XArduinoMTAdaptersFactory adaptersFactory; - + public UtilitiesAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.Utilities_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getUtilities(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAdapter.java index c53d8bf0..670e2008 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAdapter.java @@ -8,34 +8,34 @@ @SuppressWarnings("all") public class VariableAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.Variable { private XArduinoMTAdaptersFactory adaptersFactory; - + public VariableAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public String getName() { return adaptee.getName(); } - + @Override public void setName(final String o) { adaptee.setName(o); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.Variable_EvaluableAspect.evaluate(adaptee); } - - protected final static String NAME_EDEFAULT = null; - + + protected static final String NAME_EDEFAULT = null; + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getVariable(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -45,7 +45,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -55,7 +55,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAssignmentAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAssignmentAdapter.java index 84a4452a..cba631d1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAssignmentAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableAssignmentAdapter.java @@ -10,51 +10,51 @@ @SuppressWarnings("all") public class VariableAssignmentAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.VariableAssignment { private XArduinoMTAdaptersFactory adaptersFactory; - + public VariableAssignmentAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Expression getOperand() { return (Expression) adaptersFactory.createAdapter(adaptee.getOperand(), eResource); } - + @Override public void setOperand(final Expression o) { if (o != null) adaptee.setOperand(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.ExpressionAdapter) o).getAdaptee()); else adaptee.setOperand(null); } - + @Override public Variable getVariable() { return (Variable) adaptersFactory.createAdapter(adaptee.getVariable(), eResource); } - + @Override public void setVariable(final Variable o) { if (o != null) adaptee.setVariable(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.VariableAdapter) o).getAdaptee()); else adaptee.setVariable(null); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.VariableAssignment_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getVariableAssignment(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -66,7 +66,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -78,7 +78,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { @@ -96,7 +96,7 @@ public void eSet(final int featureID, final Object newValue) { super.eSet(featureID, newValue); } - + @Override public int eBaseStructuralFeatureID(final int derivedFeatureID, final Class baseClass) { if (baseClass == org.gemoc.arduino.sequential.xarduinomt.arduino.Assignment.class) { @@ -109,7 +109,7 @@ public int eBaseStructuralFeatureID(final int derivedFeatureID, final Class b return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); } - + @Override public int eDerivedStructuralFeatureID(final int baseFeatureID, final Class baseClass) { if (baseClass == org.gemoc.arduino.sequential.xarduinomt.arduino.Assignment.class) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableDeclarationAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableDeclarationAdapter.java index f7a5feab..bf7ad7fb 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableDeclarationAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableDeclarationAdapter.java @@ -9,39 +9,39 @@ @SuppressWarnings("all") public class VariableDeclarationAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.VariableDeclaration { private XArduinoMTAdaptersFactory adaptersFactory; - + public VariableDeclarationAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Variable getVariable() { return (Variable) adaptersFactory.createAdapter(adaptee.getVariable(), eResource); } - + @Override public void setVariable(final Variable o) { if (o != null) adaptee.setVariable(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.VariableAdapter) o).getAdaptee()); else adaptee.setVariable(null); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.VariableDeclaration_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getVariableDeclaration(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -51,7 +51,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -61,7 +61,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableRefAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableRefAdapter.java index fa8d1615..67ea874a 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableRefAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/VariableRefAdapter.java @@ -8,17 +8,17 @@ @SuppressWarnings("all") public class VariableRefAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.VariableRef { private XArduinoMTAdaptersFactory adaptersFactory; - + public VariableRefAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Object evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.VariableRef_EvaluableAspect.evaluate(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getVariableRef(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/WhileAdapter.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/WhileAdapter.java index ae8017ba..992d777b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/WhileAdapter.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduino/adapters/xarduinomt/arduino/WhileAdapter.java @@ -10,56 +10,56 @@ @SuppressWarnings("all") public class WhileAdapter extends EObjectAdapter implements org.gemoc.arduino.sequential.xarduinomt.arduino.While { private XArduinoMTAdaptersFactory adaptersFactory; - + public WhileAdapter() { super(org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance()); adaptersFactory = org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.XArduinoMTAdaptersFactory.getInstance(); } - + @Override public Block getBlock() { return (Block) adaptersFactory.createAdapter(adaptee.getBlock(), eResource); } - + @Override public void setBlock(final Block o) { if (o != null) adaptee.setBlock(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BlockAdapter) o).getAdaptee()); else adaptee.setBlock(null); } - + @Override public BooleanExpression getCondition() { return (BooleanExpression) adaptersFactory.createAdapter(adaptee.getCondition(), eResource); } - + @Override public void setCondition(final BooleanExpression o) { if (o != null) adaptee.setCondition(((org.gemoc.arduino.sequential.xarduino.adapters.xarduinomt.arduino.BooleanExpressionAdapter) o).getAdaptee()); else adaptee.setCondition(null); } - + @Override public Boolean evaluate() { return org.gemoc.arduino.sequential.xarduino.aspects.While_EvaluableAspect.evaluate(adaptee); } - + @Override public void execute() { org.gemoc.arduino.sequential.xarduino.aspects.While_ExecutableAspect.execute(adaptee); } - + @Override public void finalize() { org.gemoc.arduino.sequential.xarduino.aspects.Instruction_ExecutableAspect.finalize(adaptee); } - + @Override public EClass eClass() { return org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage.eINSTANCE.getWhile(); } - + @Override public Object eGet(final int featureID, final boolean resolve, final boolean coreType) { switch (featureID) { @@ -71,7 +71,7 @@ public Object eGet(final int featureID, final boolean resolve, final boolean cor return super.eGet(featureID, resolve, coreType); } - + @Override public boolean eIsSet(final int featureID) { switch (featureID) { @@ -83,7 +83,7 @@ public boolean eIsSet(final int featureID) { return super.eIsSet(featureID); } - + @Override public void eSet(final int featureID, final Object newValue) { switch (featureID) { diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoCommunicationModule.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoCommunicationModule.java index 5dd2d358..150a452c 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoCommunicationModule.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoCommunicationModule.java @@ -17,7 +17,7 @@ public interface ArduinoCommunicationModule extends ArduinoDigitalModule { /** * * - * @model + * @model annotation="aspect" * @generated */ void push(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoPackage.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoPackage.java index 63f72ca5..c760e6ea 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoPackage.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ArduinoPackage.java @@ -3135,6 +3135,7 @@ public interface ArduinoPackage extends EPackage { * @return the meta object for data type 'Object'. * @see java.lang.Object * @model instanceClass="java.lang.Object" + * annotation="aspect" * @generated */ EDataType getObject(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanExpression.java index 620bcdd8..0a25e14d 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanExpression.java @@ -53,6 +53,7 @@ public interface BinaryBooleanExpression extends BinaryExpression, BooleanExpres * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanOperatorKind.java index 148e72a7..6b54cc69 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryBooleanOperatorKind.java @@ -340,6 +340,7 @@ private BinaryBooleanOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -349,6 +350,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -358,6 +360,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerExpression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerExpression.java index 187f74c6..035d3c1f 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerExpression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerExpression.java @@ -53,6 +53,7 @@ public interface BinaryIntegerExpression extends BinaryExpression, IntegerExpres * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerOperatorKind.java index c066e180..0a784235 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BinaryIntegerOperatorKind.java @@ -313,6 +313,7 @@ private BinaryIntegerOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -322,6 +323,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -331,6 +333,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Block.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Block.java index 376f6495..a245955a 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Block.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Block.java @@ -42,7 +42,7 @@ public interface Block extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BluetoothTransceiver.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BluetoothTransceiver.java index 9c60f156..ce6c3ffc 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BluetoothTransceiver.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BluetoothTransceiver.java @@ -51,6 +51,7 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { * @return the value of the 'Data To Send' attribute list. * @see org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage#getBluetoothTransceiver_DataToSend() * @model unique="false" + * annotation="aspect" * @generated */ EList getDataToSend(); @@ -67,6 +68,7 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { * @return the value of the 'Data Received' attribute list. * @see org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage#getBluetoothTransceiver_DataReceived() * @model unique="false" + * annotation="aspect" * @generated */ EList getDataReceived(); @@ -74,7 +76,7 @@ public interface BluetoothTransceiver extends ArduinoAnalogModule { /** * * - * @model + * @model annotation="aspect" * @generated */ void push(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanConstant.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanConstant.java index 5e13909e..6d91e523 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanConstant.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanConstant.java @@ -51,6 +51,7 @@ public interface BooleanConstant extends Constant, BooleanExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanModuleGet.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanModuleGet.java index 82831fd1..bb8c67e3 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanModuleGet.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanModuleGet.java @@ -18,6 +18,7 @@ public interface BooleanModuleGet extends ModuleGet, BooleanExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanVariable.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanVariable.java index 53d87d89..1f8964c7 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanVariable.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/BooleanVariable.java @@ -60,6 +60,7 @@ public interface BooleanVariable extends Variable { * @see #setValue(Boolean) * @see org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage#getBooleanVariable_Value() * @model unique="false" + * annotation="aspect" * @generated */ Boolean getValue(); @@ -78,6 +79,7 @@ public interface BooleanVariable extends Variable { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Color.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Color.java index 2b37bfaf..46ffe054 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Color.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Color.java @@ -205,6 +205,7 @@ private Color(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -214,6 +215,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -223,6 +225,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Constant.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Constant.java index 61919fc4..ba1f46e5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Constant.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Constant.java @@ -18,6 +18,7 @@ public interface Constant extends Expression { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Control.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Control.java index 0ed24673..f6b930d2 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Control.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Control.java @@ -49,7 +49,7 @@ public interface Control extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -57,7 +57,7 @@ public interface Control extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Delay.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Delay.java index 6175de57..5de404a4 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Delay.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Delay.java @@ -79,7 +79,7 @@ public interface Delay extends Utilities { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Expression.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Expression.java index 2d915771..d43ce5e9 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Expression.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Expression.java @@ -19,6 +19,7 @@ public interface Expression extends EObject { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/If.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/If.java index 08f27de2..3ee7875b 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/If.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/If.java @@ -76,7 +76,7 @@ public interface If extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -84,7 +84,7 @@ public interface If extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Instruction.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Instruction.java index 12301d14..a2216804 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Instruction.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Instruction.java @@ -18,7 +18,7 @@ public interface Instruction extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); @@ -26,7 +26,7 @@ public interface Instruction extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void finalize(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerConstant.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerConstant.java index b6489fdd..70356a89 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerConstant.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerConstant.java @@ -51,6 +51,7 @@ public interface IntegerConstant extends Constant, IntegerExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerModuleGet.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerModuleGet.java index 574b2b66..5eac56af 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerModuleGet.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerModuleGet.java @@ -18,6 +18,7 @@ public interface IntegerModuleGet extends ModuleGet, IntegerExpression { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerVariable.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerVariable.java index 827471ed..b93b1b1e 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerVariable.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/IntegerVariable.java @@ -60,6 +60,7 @@ public interface IntegerVariable extends Variable { * @see #setValue(Integer) * @see org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage#getIntegerVariable_Value() * @model unique="false" + * annotation="aspect" * @generated */ Integer getValue(); @@ -78,6 +79,7 @@ public interface IntegerVariable extends Variable { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleAssignment.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleAssignment.java index 5f36f7fa..e4813825 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleAssignment.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleAssignment.java @@ -17,7 +17,7 @@ public interface ModuleAssignment extends ModuleInstruction, Assignment { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleInstruction.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleInstruction.java index cd20406f..89e11b85 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleInstruction.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/ModuleInstruction.java @@ -49,7 +49,7 @@ public interface ModuleInstruction extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Pin.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Pin.java index a80d1fea..b6cfd646 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Pin.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Pin.java @@ -32,6 +32,7 @@ public interface Pin extends NamedElement { * @see #setLevel(Integer) * @see org.gemoc.arduino.sequential.xarduinomt.arduino.ArduinoPackage#getPin_Level() * @model unique="false" + * annotation="aspect" * @generated */ Integer getLevel(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Project.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Project.java index 9de2215f..9b3495aa 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Project.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Project.java @@ -63,7 +63,7 @@ public interface Project extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); @@ -71,7 +71,7 @@ public interface Project extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void main(); @@ -79,7 +79,7 @@ public interface Project extends EObject { /** * * - * @model + * @model annotation="aspect" * @generated */ void setup(); @@ -88,6 +88,7 @@ public interface Project extends EObject { * * * @model argsMany="true" + * annotation="aspect" * @generated */ void initializeModel(EList args); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Repeat.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Repeat.java index b2d024af..93049d30 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Repeat.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Repeat.java @@ -50,7 +50,7 @@ public interface Repeat extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); @@ -58,7 +58,7 @@ public interface Repeat extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -66,7 +66,7 @@ public interface Repeat extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void finalize(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Time.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Time.java index 98c70ca8..bb2845a2 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Time.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Time.java @@ -177,6 +177,7 @@ private Time(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -186,6 +187,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -195,6 +197,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryBooleanOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryBooleanOperatorKind.java index e47d5935..cb8ebaa5 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryBooleanOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryBooleanOperatorKind.java @@ -151,6 +151,7 @@ private UnaryBooleanOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -160,6 +161,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -169,6 +171,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryIntegerOperatorKind.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryIntegerOperatorKind.java index 40354329..cf47ec78 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryIntegerOperatorKind.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/UnaryIntegerOperatorKind.java @@ -178,6 +178,7 @@ private UnaryIntegerOperatorKind(int value, String name, String literal) { * * @generated */ + @Override public int getValue() { return value; } @@ -187,6 +188,7 @@ public int getValue() { * * @generated */ + @Override public String getName() { return name; } @@ -196,6 +198,7 @@ public String getName() { * * @generated */ + @Override public String getLiteral() { return literal; } diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Utilities.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Utilities.java index 891752ef..cf2ee318 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Utilities.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Utilities.java @@ -17,7 +17,7 @@ public interface Utilities extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Variable.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Variable.java index 767183f0..fdcba4a1 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Variable.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/Variable.java @@ -18,6 +18,7 @@ public interface Variable extends NamedElement { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableAssignment.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableAssignment.java index 30a9846c..9ff2c283 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableAssignment.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableAssignment.java @@ -49,7 +49,7 @@ public interface VariableAssignment extends Instruction, Assignment { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableDeclaration.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableDeclaration.java index af66641d..cec57363 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableDeclaration.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableDeclaration.java @@ -49,7 +49,7 @@ public interface VariableDeclaration extends Instruction { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableRef.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableRef.java index b5ae545d..8b5a2ecd 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableRef.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/VariableRef.java @@ -18,6 +18,7 @@ public interface VariableRef extends Expression { * * * @model dataType="org.gemoc.arduino.sequential.xarduinomt.arduino.Object" + * annotation="aspect" * @generated */ Object evaluate(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/While.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/While.java index c54afa27..e76062f6 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/While.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/While.java @@ -49,7 +49,7 @@ public interface While extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ Boolean evaluate(); @@ -57,7 +57,7 @@ public interface While extends Control { /** * * - * @model + * @model annotation="aspect" * @generated */ void execute(); diff --git a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/impl/ArduinoPackageImpl.java b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/impl/ArduinoPackageImpl.java index 8863fd27..bc251ccf 100644 --- a/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/impl/ArduinoPackageImpl.java +++ b/dev/language_workbench_sequential/org.gemoc.arduino.sequential/src-gen/org/gemoc/arduino/sequential/xarduinomt/arduino/impl/ArduinoPackageImpl.java @@ -609,6 +609,7 @@ public static ArduinoPackage init() { * * @generated */ + @Override public EClass getBoard() { return boardEClass; } @@ -618,6 +619,7 @@ public EClass getBoard() { * * @generated */ + @Override public EReference getBoard_Project() { return (EReference)boardEClass.getEStructuralFeatures().get(0); } @@ -627,6 +629,7 @@ public EReference getBoard_Project() { * * @generated */ + @Override public EClass getModule() { return moduleEClass; } @@ -636,6 +639,7 @@ public EClass getModule() { * * @generated */ + @Override public EClass getDigitalPin() { return digitalPinEClass; } @@ -645,6 +649,7 @@ public EClass getDigitalPin() { * * @generated */ + @Override public EReference getDigitalPin_Module() { return (EReference)digitalPinEClass.getEStructuralFeatures().get(0); } @@ -654,6 +659,7 @@ public EReference getDigitalPin_Module() { * * @generated */ + @Override public EClass getPin() { return pinEClass; } @@ -663,6 +669,7 @@ public EClass getPin() { * * @generated */ + @Override public EAttribute getPin_Level() { return (EAttribute)pinEClass.getEStructuralFeatures().get(0); } @@ -672,6 +679,7 @@ public EAttribute getPin_Level() { * * @generated */ + @Override public EClass getAnalogPin() { return analogPinEClass; } @@ -681,6 +689,7 @@ public EClass getAnalogPin() { * * @generated */ + @Override public EReference getAnalogPin_Module() { return (EReference)analogPinEClass.getEStructuralFeatures().get(0); } @@ -690,6 +699,7 @@ public EReference getAnalogPin_Module() { * * @generated */ + @Override public EClass getSketch() { return sketchEClass; } @@ -699,6 +709,7 @@ public EClass getSketch() { * * @generated */ + @Override public EReference getSketch_Project() { return (EReference)sketchEClass.getEStructuralFeatures().get(0); } @@ -708,6 +719,7 @@ public EReference getSketch_Project() { * * @generated */ + @Override public EReference getSketch_Block() { return (EReference)sketchEClass.getEStructuralFeatures().get(1); } @@ -717,6 +729,7 @@ public EReference getSketch_Block() { * * @generated */ + @Override public EReference getSketch_Board() { return (EReference)sketchEClass.getEStructuralFeatures().get(2); } @@ -726,6 +739,7 @@ public EReference getSketch_Board() { * * @generated */ + @Override public EClass getProject() { return projectEClass; } @@ -735,6 +749,7 @@ public EClass getProject() { * * @generated */ + @Override public EReference getProject_Boards() { return (EReference)projectEClass.getEStructuralFeatures().get(0); } @@ -744,6 +759,7 @@ public EReference getProject_Boards() { * * @generated */ + @Override public EReference getProject_Sketches() { return (EReference)projectEClass.getEStructuralFeatures().get(1); } @@ -753,6 +769,7 @@ public EReference getProject_Sketches() { * * @generated */ + @Override public EClass getInstruction() { return instructionEClass; } @@ -762,6 +779,7 @@ public EClass getInstruction() { * * @generated */ + @Override public EClass getModuleAssignment() { return moduleAssignmentEClass; } @@ -771,6 +789,7 @@ public EClass getModuleAssignment() { * * @generated */ + @Override public EClass getModuleInstruction() { return moduleInstructionEClass; } @@ -780,6 +799,7 @@ public EClass getModuleInstruction() { * * @generated */ + @Override public EReference getModuleInstruction_Module() { return (EReference)moduleInstructionEClass.getEStructuralFeatures().get(0); } @@ -789,6 +809,7 @@ public EReference getModuleInstruction_Module() { * * @generated */ + @Override public EClass getControl() { return controlEClass; } @@ -798,6 +819,7 @@ public EClass getControl() { * * @generated */ + @Override public EReference getControl_Block() { return (EReference)controlEClass.getEStructuralFeatures().get(0); } @@ -807,6 +829,7 @@ public EReference getControl_Block() { * * @generated */ + @Override public EClass getUtilities() { return utilitiesEClass; } @@ -816,6 +839,7 @@ public EClass getUtilities() { * * @generated */ + @Override public EClass getDelay() { return delayEClass; } @@ -825,6 +849,7 @@ public EClass getDelay() { * * @generated */ + @Override public EAttribute getDelay_Unit() { return (EAttribute)delayEClass.getEStructuralFeatures().get(0); } @@ -834,6 +859,7 @@ public EAttribute getDelay_Unit() { * * @generated */ + @Override public EAttribute getDelay_Value() { return (EAttribute)delayEClass.getEStructuralFeatures().get(1); } @@ -843,6 +869,7 @@ public EAttribute getDelay_Value() { * * @generated */ + @Override public EClass getNamedElement() { return namedElementEClass; } @@ -852,6 +879,7 @@ public EClass getNamedElement() { * * @generated */ + @Override public EAttribute getNamedElement_Name() { return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); } @@ -861,6 +889,7 @@ public EAttribute getNamedElement_Name() { * * @generated */ + @Override public EClass getRepeat() { return repeatEClass; } @@ -870,6 +899,7 @@ public EClass getRepeat() { * * @generated */ + @Override public EAttribute getRepeat_Iteration() { return (EAttribute)repeatEClass.getEStructuralFeatures().get(0); } @@ -879,6 +909,7 @@ public EAttribute getRepeat_Iteration() { * * @generated */ + @Override public EClass getModuleGet() { return moduleGetEClass; } @@ -888,6 +919,7 @@ public EClass getModuleGet() { * * @generated */ + @Override public EReference getModuleGet_Module() { return (EReference)moduleGetEClass.getEStructuralFeatures().get(0); } @@ -897,6 +929,7 @@ public EReference getModuleGet_Module() { * * @generated */ + @Override public EClass getWhile() { return whileEClass; } @@ -906,6 +939,7 @@ public EClass getWhile() { * * @generated */ + @Override public EReference getWhile_Condition() { return (EReference)whileEClass.getEStructuralFeatures().get(0); } @@ -915,6 +949,7 @@ public EReference getWhile_Condition() { * * @generated */ + @Override public EClass getBinaryExpression() { return binaryExpressionEClass; } @@ -924,6 +959,7 @@ public EClass getBinaryExpression() { * * @generated */ + @Override public EReference getBinaryExpression_Left() { return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(0); } @@ -933,6 +969,7 @@ public EReference getBinaryExpression_Left() { * * @generated */ + @Override public EReference getBinaryExpression_Right() { return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(1); } @@ -942,6 +979,7 @@ public EReference getBinaryExpression_Right() { * * @generated */ + @Override public EClass getVariable() { return variableEClass; } @@ -951,6 +989,7 @@ public EClass getVariable() { * * @generated */ + @Override public EClass getVariableAssignment() { return variableAssignmentEClass; } @@ -960,6 +999,7 @@ public EClass getVariableAssignment() { * * @generated */ + @Override public EReference getVariableAssignment_Variable() { return (EReference)variableAssignmentEClass.getEStructuralFeatures().get(0); } @@ -969,6 +1009,7 @@ public EReference getVariableAssignment_Variable() { * * @generated */ + @Override public EClass getBinaryIntegerExpression() { return binaryIntegerExpressionEClass; } @@ -978,6 +1019,7 @@ public EClass getBinaryIntegerExpression() { * * @generated */ + @Override public EAttribute getBinaryIntegerExpression_Operator() { return (EAttribute)binaryIntegerExpressionEClass.getEStructuralFeatures().get(0); } @@ -987,6 +1029,7 @@ public EAttribute getBinaryIntegerExpression_Operator() { * * @generated */ + @Override public EClass getBinaryBooleanExpression() { return binaryBooleanExpressionEClass; } @@ -996,6 +1039,7 @@ public EClass getBinaryBooleanExpression() { * * @generated */ + @Override public EAttribute getBinaryBooleanExpression_Operator() { return (EAttribute)binaryBooleanExpressionEClass.getEStructuralFeatures().get(0); } @@ -1005,6 +1049,7 @@ public EAttribute getBinaryBooleanExpression_Operator() { * * @generated */ + @Override public EClass getExpression() { return expressionEClass; } @@ -1014,6 +1059,7 @@ public EClass getExpression() { * * @generated */ + @Override public EClass getConstant() { return constantEClass; } @@ -1023,6 +1069,7 @@ public EClass getConstant() { * * @generated */ + @Override public EClass getIf() { return ifEClass; } @@ -1032,6 +1079,7 @@ public EClass getIf() { * * @generated */ + @Override public EReference getIf_Condition() { return (EReference)ifEClass.getEStructuralFeatures().get(0); } @@ -1041,6 +1089,7 @@ public EReference getIf_Condition() { * * @generated */ + @Override public EReference getIf_ElseBlock() { return (EReference)ifEClass.getEStructuralFeatures().get(1); } @@ -1050,6 +1099,7 @@ public EReference getIf_ElseBlock() { * * @generated */ + @Override public EClass getIntegerConstant() { return integerConstantEClass; } @@ -1059,6 +1109,7 @@ public EClass getIntegerConstant() { * * @generated */ + @Override public EAttribute getIntegerConstant_Value() { return (EAttribute)integerConstantEClass.getEStructuralFeatures().get(0); } @@ -1068,6 +1119,7 @@ public EAttribute getIntegerConstant_Value() { * * @generated */ + @Override public EClass getBooleanConstant() { return booleanConstantEClass; } @@ -1077,6 +1129,7 @@ public EClass getBooleanConstant() { * * @generated */ + @Override public EAttribute getBooleanConstant_Value() { return (EAttribute)booleanConstantEClass.getEStructuralFeatures().get(0); } @@ -1086,6 +1139,7 @@ public EAttribute getBooleanConstant_Value() { * * @generated */ + @Override public EClass getBooleanExpression() { return booleanExpressionEClass; } @@ -1095,6 +1149,7 @@ public EClass getBooleanExpression() { * * @generated */ + @Override public EClass getIntegerExpression() { return integerExpressionEClass; } @@ -1104,6 +1159,7 @@ public EClass getIntegerExpression() { * * @generated */ + @Override public EClass getAssignment() { return assignmentEClass; } @@ -1113,6 +1169,7 @@ public EClass getAssignment() { * * @generated */ + @Override public EReference getAssignment_Operand() { return (EReference)assignmentEClass.getEStructuralFeatures().get(0); } @@ -1122,6 +1179,7 @@ public EReference getAssignment_Operand() { * * @generated */ + @Override public EClass getIntegerVariable() { return integerVariableEClass; } @@ -1131,6 +1189,7 @@ public EClass getIntegerVariable() { * * @generated */ + @Override public EAttribute getIntegerVariable_InitialValue() { return (EAttribute)integerVariableEClass.getEStructuralFeatures().get(0); } @@ -1140,6 +1199,7 @@ public EAttribute getIntegerVariable_InitialValue() { * * @generated */ + @Override public EAttribute getIntegerVariable_Value() { return (EAttribute)integerVariableEClass.getEStructuralFeatures().get(1); } @@ -1149,6 +1209,7 @@ public EAttribute getIntegerVariable_Value() { * * @generated */ + @Override public EClass getBooleanVariable() { return booleanVariableEClass; } @@ -1158,6 +1219,7 @@ public EClass getBooleanVariable() { * * @generated */ + @Override public EAttribute getBooleanVariable_InitialValue() { return (EAttribute)booleanVariableEClass.getEStructuralFeatures().get(0); } @@ -1167,6 +1229,7 @@ public EAttribute getBooleanVariable_InitialValue() { * * @generated */ + @Override public EAttribute getBooleanVariable_Value() { return (EAttribute)booleanVariableEClass.getEStructuralFeatures().get(1); } @@ -1176,6 +1239,7 @@ public EAttribute getBooleanVariable_Value() { * * @generated */ + @Override public EClass getBooleanModuleGet() { return booleanModuleGetEClass; } @@ -1185,6 +1249,7 @@ public EClass getBooleanModuleGet() { * * @generated */ + @Override public EClass getIntegerModuleGet() { return integerModuleGetEClass; } @@ -1194,6 +1259,7 @@ public EClass getIntegerModuleGet() { * * @generated */ + @Override public EClass getUnaryExpression() { return unaryExpressionEClass; } @@ -1203,6 +1269,7 @@ public EClass getUnaryExpression() { * * @generated */ + @Override public EReference getUnaryExpression_Operand() { return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(0); } @@ -1212,6 +1279,7 @@ public EReference getUnaryExpression_Operand() { * * @generated */ + @Override public EClass getUnaryBooleanExpression() { return unaryBooleanExpressionEClass; } @@ -1221,6 +1289,7 @@ public EClass getUnaryBooleanExpression() { * * @generated */ + @Override public EAttribute getUnaryBooleanExpression_Operator() { return (EAttribute)unaryBooleanExpressionEClass.getEStructuralFeatures().get(0); } @@ -1230,6 +1299,7 @@ public EAttribute getUnaryBooleanExpression_Operator() { * * @generated */ + @Override public EClass getUnaryIntegerExpression() { return unaryIntegerExpressionEClass; } @@ -1239,6 +1309,7 @@ public EClass getUnaryIntegerExpression() { * * @generated */ + @Override public EAttribute getUnaryIntegerExpression_Operator() { return (EAttribute)unaryIntegerExpressionEClass.getEStructuralFeatures().get(0); } @@ -1248,6 +1319,7 @@ public EAttribute getUnaryIntegerExpression_Operator() { * * @generated */ + @Override public EClass getVariableDeclaration() { return variableDeclarationEClass; } @@ -1257,6 +1329,7 @@ public EClass getVariableDeclaration() { * * @generated */ + @Override public EReference getVariableDeclaration_Variable() { return (EReference)variableDeclarationEClass.getEStructuralFeatures().get(0); } @@ -1266,6 +1339,7 @@ public EReference getVariableDeclaration_Variable() { * * @generated */ + @Override public EClass getVariableRef() { return variableRefEClass; } @@ -1275,6 +1349,7 @@ public EClass getVariableRef() { * * @generated */ + @Override public EClass getIntegerVariableRef() { return integerVariableRefEClass; } @@ -1284,6 +1359,7 @@ public EClass getIntegerVariableRef() { * * @generated */ + @Override public EReference getIntegerVariableRef_Variable() { return (EReference)integerVariableRefEClass.getEStructuralFeatures().get(0); } @@ -1293,6 +1369,7 @@ public EReference getIntegerVariableRef_Variable() { * * @generated */ + @Override public EClass getLED() { return ledEClass; } @@ -1302,6 +1379,7 @@ public EClass getLED() { * * @generated */ + @Override public EAttribute getLED_Color() { return (EAttribute)ledEClass.getEStructuralFeatures().get(0); } @@ -1311,6 +1389,7 @@ public EAttribute getLED_Color() { * * @generated */ + @Override public EClass getPushButton() { return pushButtonEClass; } @@ -1320,6 +1399,7 @@ public EClass getPushButton() { * * @generated */ + @Override public EClass getBuzzer() { return buzzerEClass; } @@ -1329,6 +1409,7 @@ public EClass getBuzzer() { * * @generated */ + @Override public EClass getRotationSensor() { return rotationSensorEClass; } @@ -1338,6 +1419,7 @@ public EClass getRotationSensor() { * * @generated */ + @Override public EClass getMicroServo() { return microServoEClass; } @@ -1347,6 +1429,7 @@ public EClass getMicroServo() { * * @generated */ + @Override public EClass getInfraRedSensor() { return infraRedSensorEClass; } @@ -1356,6 +1439,7 @@ public EClass getInfraRedSensor() { * * @generated */ + @Override public EClass getAmbientLightSensor() { return ambientLightSensorEClass; } @@ -1365,6 +1449,7 @@ public EClass getAmbientLightSensor() { * * @generated */ + @Override public EClass getSoundSensor() { return soundSensorEClass; } @@ -1374,6 +1459,7 @@ public EClass getSoundSensor() { * * @generated */ + @Override public EClass getFan() { return fanEClass; } @@ -1383,6 +1469,7 @@ public EClass getFan() { * * @generated */ + @Override public EClass getMusicPlayer() { return musicPlayerEClass; } @@ -1392,6 +1479,7 @@ public EClass getMusicPlayer() { * * @generated */ + @Override public EClass getArduinoModule() { return arduinoModuleEClass; } @@ -1401,6 +1489,7 @@ public EClass getArduinoModule() { * * @generated */ + @Override public EClass getBlock() { return blockEClass; } @@ -1410,6 +1499,7 @@ public EClass getBlock() { * * @generated */ + @Override public EReference getBlock_Instructions() { return (EReference)blockEClass.getEStructuralFeatures().get(0); } @@ -1419,6 +1509,7 @@ public EReference getBlock_Instructions() { * * @generated */ + @Override public EClass getArduinoBoard() { return arduinoBoardEClass; } @@ -1428,6 +1519,7 @@ public EClass getArduinoBoard() { * * @generated */ + @Override public EReference getArduinoBoard_DigitalPins() { return (EReference)arduinoBoardEClass.getEStructuralFeatures().get(0); } @@ -1437,6 +1529,7 @@ public EReference getArduinoBoard_DigitalPins() { * * @generated */ + @Override public EReference getArduinoBoard_AnalogPins() { return (EReference)arduinoBoardEClass.getEStructuralFeatures().get(1); } @@ -1446,6 +1539,7 @@ public EReference getArduinoBoard_AnalogPins() { * * @generated */ + @Override public EClass getArduinoDigitalModule() { return arduinoDigitalModuleEClass; } @@ -1455,6 +1549,7 @@ public EClass getArduinoDigitalModule() { * * @generated */ + @Override public EClass getArduinoAnalogModule() { return arduinoAnalogModuleEClass; } @@ -1464,6 +1559,7 @@ public EClass getArduinoAnalogModule() { * * @generated */ + @Override public EClass getBooleanVariableRef() { return booleanVariableRefEClass; } @@ -1473,6 +1569,7 @@ public EClass getBooleanVariableRef() { * * @generated */ + @Override public EReference getBooleanVariableRef_Variable() { return (EReference)booleanVariableRefEClass.getEStructuralFeatures().get(0); } @@ -1482,6 +1579,7 @@ public EReference getBooleanVariableRef_Variable() { * * @generated */ + @Override public EClass getArduinoCommunicationModule() { return arduinoCommunicationModuleEClass; } @@ -1491,6 +1589,7 @@ public EClass getArduinoCommunicationModule() { * * @generated */ + @Override public EClass getBluetoothTransceiver() { return bluetoothTransceiverEClass; } @@ -1500,6 +1599,7 @@ public EClass getBluetoothTransceiver() { * * @generated */ + @Override public EReference getBluetoothTransceiver_ConnectedTransceiver() { return (EReference)bluetoothTransceiverEClass.getEStructuralFeatures().get(0); } @@ -1509,6 +1609,7 @@ public EReference getBluetoothTransceiver_ConnectedTransceiver() { * * @generated */ + @Override public EAttribute getBluetoothTransceiver_DataToSend() { return (EAttribute)bluetoothTransceiverEClass.getEStructuralFeatures().get(1); } @@ -1518,6 +1619,7 @@ public EAttribute getBluetoothTransceiver_DataToSend() { * * @generated */ + @Override public EAttribute getBluetoothTransceiver_DataReceived() { return (EAttribute)bluetoothTransceiverEClass.getEStructuralFeatures().get(2); } @@ -1527,6 +1629,7 @@ public EAttribute getBluetoothTransceiver_DataReceived() { * * @generated */ + @Override public EEnum getTime() { return timeEEnum; } @@ -1536,6 +1639,7 @@ public EEnum getTime() { * * @generated */ + @Override public EEnum getBinaryIntegerOperatorKind() { return binaryIntegerOperatorKindEEnum; } @@ -1545,6 +1649,7 @@ public EEnum getBinaryIntegerOperatorKind() { * * @generated */ + @Override public EEnum getBinaryBooleanOperatorKind() { return binaryBooleanOperatorKindEEnum; } @@ -1554,6 +1659,7 @@ public EEnum getBinaryBooleanOperatorKind() { * * @generated */ + @Override public EEnum getUnaryIntegerOperatorKind() { return unaryIntegerOperatorKindEEnum; } @@ -1563,6 +1669,7 @@ public EEnum getUnaryIntegerOperatorKind() { * * @generated */ + @Override public EEnum getUnaryBooleanOperatorKind() { return unaryBooleanOperatorKindEEnum; } @@ -1572,6 +1679,7 @@ public EEnum getUnaryBooleanOperatorKind() { * * @generated */ + @Override public EEnum getColor() { return colorEEnum; } @@ -1581,6 +1689,7 @@ public EEnum getColor() { * * @generated */ + @Override public EDataType getObject() { return objectEDataType; } @@ -1590,6 +1699,7 @@ public EDataType getObject() { * * @generated */ + @Override public ArduinoFactory getArduinoFactory() { return (ArduinoFactory)getEFactoryInstance(); }