From b184d4ffc9b30f7284b8cbd37e030463bd43b5e5 Mon Sep 17 00:00:00 2001 From: Yvan Lussaud Date: Tue, 7 Apr 2015 10:28:59 +0200 Subject: [PATCH 1/2] Added arduino simulator. --- .../description/arduino.odesign | 10 +- .../images/dfrobot/blue_led.jpg | Bin 0 -> 3396 bytes .../images/dfrobot/led.jpg | Bin 2398 -> 0 bytes .../images/dfrobot/red_led.jpg | Bin 0 -> 3426 bytes .../images/dfrobot/white_led.jpg | Bin 0 -> 3212 bytes .../resources/ArdublockKit.arduino | 6 +- .../arduino/design/ArduinoDesignerUtils.java | 50 ++ plugins/fr.obeo.dsl.arduino.edit/.classpath | 2 +- .../fr.obeo.dsl.arduino.edit/build.properties | 2 +- .../provider/AnalogPinItemProvider.java | 0 .../arduino/provider/ArduinoEditPlugin.java | 0 .../ArduinoItemProviderAdapterFactory.java | 0 .../provider/BooleanOperatorItemProvider.java | 0 .../provider/ConnectorItemProvider.java | 0 .../provider/ConstantItemProvider.java | 0 .../arduino/provider/ControlItemProvider.java | 0 .../arduino/provider/DelayItemProvider.java | 0 .../provider/DigitalPinItemProvider.java | 0 .../provider/FunctionCallItemProvider.java | 0 .../provider/FunctionItemProvider.java | 0 .../provider/HardwareItemProvider.java | 0 .../dsl/arduino/provider/IOItemProvider.java | 0 .../dsl/arduino/provider/IfItemProvider.java | 0 .../provider/InputModuleItemProvider.java | 0 .../provider/InstructionItemProvider.java | 0 .../arduino/provider/LevelItemProvider.java | 0 .../provider/MathOperatorItemProvider.java | 0 .../ModuleInstructionItemProvider.java | 0 .../arduino/provider/ModuleItemProvider.java | 0 .../provider/NamedElementItemProvider.java | 0 .../NumericalOperatorItemProvider.java | 0 .../provider/OutputModuleItemProvider.java | 0 .../provider/ParameterCallItemProvider.java | 0 .../ParameterDefinitionItemProvider.java | 0 .../provider/ParameterItemProvider.java | 0 .../dsl/arduino/provider/PinItemProvider.java | 0 .../provider/PlatformItemProvider.java | 0 .../arduino/provider/ProjectItemProvider.java | 0 .../arduino/provider/RepeatItemProvider.java | 0 .../arduino/provider/SensorItemProvider.java | 0 .../dsl/arduino/provider/SetItemProvider.java | 0 .../arduino/provider/SketchItemProvider.java | 0 .../arduino/provider/StatusItemProvider.java | 0 .../provider/UtilitiesItemProvider.java | 0 .../arduino/provider/ValueItemProvider.java | 0 .../provider/VariableItemProvider.java | 0 .../arduino/provider/WhileItemProvider.java | 0 plugins/fr.obeo.dsl.arduino.editor/.classpath | 2 +- .../build.properties | 2 +- .../ArduinoActionBarContributor.java | 0 .../arduino/presentation/ArduinoEditor.java | 0 .../presentation/ArduinoEditorPlugin.java | 0 .../presentation/ArduinoModelWizard.java | 0 .../arduino/gen/main/ArduinoGenServices.java | 2 +- .../.classpath | 7 + .../.project | 35 ++ .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 29 ++ .../build.properties | 8 + .../description/simulator.odesign | 234 +++++++++ .../icons/breakpoint.gif | Bin 0 -> 197 bytes .../icons/breakpoint_disabled.gif | Bin 0 -> 139 bytes .../icons/breakpoint_enabled.gif | Bin 0 -> 197 bytes .../icons/debug_exc.gif | Bin 0 -> 348 bytes .../icons/launch.png | Bin 0 -> 398 bytes .../plugin.xml | 91 ++++ .../pom.xml | 42 ++ .../arduino/simulator/design/Activator.java | 66 +++ .../simulator/design/SiriusSimulator.java | 64 +++ .../design/action/DebugAsAction.java | 24 + .../design/action/ToggleBreakpointAction.java | 13 + .../design/launcher/LauncherDelegate.java | 111 +++++ .../simulator/design/launcher/TabGroup.java | 16 + .../design/services/SimulatorServices.java | 127 +++++ .../fr.obeo.dsl.arduino.simulator/.classpath | 7 + .../fr.obeo.dsl.arduino.simulator/.project | 28 ++ .../.settings/org.eclipse.jdt.core.prefs | 11 + .../META-INF/MANIFEST.MF | 11 + .../build.properties | 3 + plugins/fr.obeo.dsl.arduino.simulator/pom.xml | 42 ++ .../dsl/arduino/simulator/LoopSwitch.java | 449 ++++++++++++++++++ .../dsl/arduino/simulator/SetupSwitch.java | 74 +++ .../simulator/SimulationStoppedException.java | 16 + .../obeo/dsl/arduino/simulator/Simulator.java | 200 ++++++++ .../simulator/debug/SimulatorDebugger.java | 124 +++++ plugins/fr.obeo.dsl.arduino/.classpath | 1 + plugins/fr.obeo.dsl.arduino/build.properties | 3 +- .../model/arduino.genmodel | 8 +- .../fr/obeo/dsl/arduino/AnalogPin.java | 0 .../fr/obeo/dsl/arduino/ArduinoFactory.java | 0 .../fr/obeo/dsl/arduino/ArduinoPackage.java | 0 .../fr/obeo/dsl/arduino/BooleanOperator.java | 0 .../fr/obeo/dsl/arduino/Connector.java | 0 .../fr/obeo/dsl/arduino/Constant.java | 0 .../fr/obeo/dsl/arduino/Control.java | 0 .../fr/obeo/dsl/arduino/Delay.java | 0 .../fr/obeo/dsl/arduino/DigitalPin.java | 0 .../fr/obeo/dsl/arduino/Function.java | 0 .../fr/obeo/dsl/arduino/FunctionCall.java | 0 .../fr/obeo/dsl/arduino/Hardware.java | 0 .../fr/obeo/dsl/arduino/IO.java | 0 .../fr/obeo/dsl/arduino/If.java | 0 .../fr/obeo/dsl/arduino/InputModule.java | 0 .../fr/obeo/dsl/arduino/Instruction.java | 0 .../fr/obeo/dsl/arduino/Level.java | 0 .../fr/obeo/dsl/arduino/Library.java | 0 .../fr/obeo/dsl/arduino/MathOperator.java | 0 .../fr/obeo/dsl/arduino/Module.java | 0 .../obeo/dsl/arduino/ModuleInstruction.java | 0 .../fr/obeo/dsl/arduino/ModuleKind.java | 0 .../fr/obeo/dsl/arduino/NamedElement.java | 0 .../obeo/dsl/arduino/NumericalOperator.java | 0 .../fr/obeo/dsl/arduino/OperatorKind.java | 0 .../fr/obeo/dsl/arduino/OutputModule.java | 0 .../fr/obeo/dsl/arduino/Parameter.java | 0 .../fr/obeo/dsl/arduino/ParameterCall.java | 0 .../obeo/dsl/arduino/ParameterDefinition.java | 0 .../fr/obeo/dsl/arduino/ParameterType.java | 0 .../fr/obeo/dsl/arduino/Pin.java | 0 .../fr/obeo/dsl/arduino/Platform.java | 0 .../fr/obeo/dsl/arduino/Project.java | 0 .../fr/obeo/dsl/arduino/Repeat.java | 0 .../fr/obeo/dsl/arduino/Sensor.java | 0 .../fr/obeo/dsl/arduino/Set.java | 0 .../fr/obeo/dsl/arduino/Sketch.java | 0 .../fr/obeo/dsl/arduino/Status.java | 0 .../fr/obeo/dsl/arduino/Time.java | 0 .../fr/obeo/dsl/arduino/Utilities.java | 0 .../fr/obeo/dsl/arduino/Value.java | 0 .../fr/obeo/dsl/arduino/Variable.java | 0 .../fr/obeo/dsl/arduino/While.java | 0 .../obeo/dsl/arduino/impl/AnalogPinImpl.java | 0 .../dsl/arduino/impl/ArduinoFactoryImpl.java | 0 .../dsl/arduino/impl/ArduinoPackageImpl.java | 0 .../dsl/arduino/impl/BooleanOperatorImpl.java | 0 .../obeo/dsl/arduino/impl/ConnectorImpl.java | 0 .../obeo/dsl/arduino/impl/ConstantImpl.java | 0 .../fr/obeo/dsl/arduino/impl/ControlImpl.java | 0 .../fr/obeo/dsl/arduino/impl/DelayImpl.java | 0 .../obeo/dsl/arduino/impl/DigitalPinImpl.java | 0 .../dsl/arduino/impl/FunctionCallImpl.java | 0 .../obeo/dsl/arduino/impl/FunctionImpl.java | 0 .../obeo/dsl/arduino/impl/HardwareImpl.java | 0 .../fr/obeo/dsl/arduino/impl/IOImpl.java | 0 .../fr/obeo/dsl/arduino/impl/IfImpl.java | 0 .../dsl/arduino/impl/InputModuleImpl.java | 0 .../dsl/arduino/impl/InstructionImpl.java | 0 .../fr/obeo/dsl/arduino/impl/LevelImpl.java | 0 .../dsl/arduino/impl/MathOperatorImpl.java | 0 .../fr/obeo/dsl/arduino/impl/ModuleImpl.java | 0 .../arduino/impl/ModuleInstructionImpl.java | 0 .../dsl/arduino/impl/NamedElementImpl.java | 0 .../arduino/impl/NumericalOperatorImpl.java | 0 .../dsl/arduino/impl/OutputModuleImpl.java | 0 .../dsl/arduino/impl/ParameterCallImpl.java | 0 .../arduino/impl/ParameterDefinitionImpl.java | 0 .../obeo/dsl/arduino/impl/ParameterImpl.java | 0 .../fr/obeo/dsl/arduino/impl/PinImpl.java | 0 .../obeo/dsl/arduino/impl/PlatformImpl.java | 0 .../fr/obeo/dsl/arduino/impl/ProjectImpl.java | 0 .../fr/obeo/dsl/arduino/impl/RepeatImpl.java | 0 .../fr/obeo/dsl/arduino/impl/SensorImpl.java | 0 .../fr/obeo/dsl/arduino/impl/SetImpl.java | 0 .../fr/obeo/dsl/arduino/impl/SketchImpl.java | 0 .../fr/obeo/dsl/arduino/impl/StatusImpl.java | 0 .../obeo/dsl/arduino/impl/UtilitiesImpl.java | 0 .../fr/obeo/dsl/arduino/impl/ValueImpl.java | 0 .../obeo/dsl/arduino/impl/VariableImpl.java | 0 .../fr/obeo/dsl/arduino/impl/WhileImpl.java | 0 .../arduino/util/ArduinoAdapterFactory.java | 0 .../obeo/dsl/arduino/util/ArduinoSwitch.java | 0 .../src/fr/obeo/dsl/arduino/ArduinoUtils.java | 93 ++++ releng/fr.obeo.dsl.arduino.parent/pom.xml | 5 +- 173 files changed, 2007 insertions(+), 18 deletions(-) create mode 100644 plugins/fr.obeo.dsl.arduino.design/images/dfrobot/blue_led.jpg delete mode 100644 plugins/fr.obeo.dsl.arduino.design/images/dfrobot/led.jpg create mode 100644 plugins/fr.obeo.dsl.arduino.design/images/dfrobot/red_led.jpg create mode 100644 plugins/fr.obeo.dsl.arduino.design/images/dfrobot/white_led.jpg create mode 100644 plugins/fr.obeo.dsl.arduino.design/src/fr/obeo/dsl/arduino/design/ArduinoDesignerUtils.java rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/AnalogPinItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ArduinoEditPlugin.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ArduinoItemProviderAdapterFactory.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/BooleanOperatorItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ConnectorItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ConstantItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ControlItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/DelayItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/DigitalPinItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/FunctionCallItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/FunctionItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/HardwareItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/IOItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/IfItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/InputModuleItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/InstructionItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/LevelItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/MathOperatorItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ModuleInstructionItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ModuleItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/NamedElementItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/NumericalOperatorItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/OutputModuleItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ParameterCallItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ParameterDefinitionItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ParameterItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/PinItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/PlatformItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ProjectItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/RepeatItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/SensorItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/SetItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/SketchItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/StatusItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/UtilitiesItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/ValueItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/VariableItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.edit/{src => src-gen}/fr/obeo/dsl/arduino/provider/WhileItemProvider.java (100%) rename plugins/fr.obeo.dsl.arduino.editor/{src => src-gen}/fr/obeo/dsl/arduino/presentation/ArduinoActionBarContributor.java (100%) rename plugins/fr.obeo.dsl.arduino.editor/{src => src-gen}/fr/obeo/dsl/arduino/presentation/ArduinoEditor.java (100%) rename plugins/fr.obeo.dsl.arduino.editor/{src => src-gen}/fr/obeo/dsl/arduino/presentation/ArduinoEditorPlugin.java (100%) rename plugins/fr.obeo.dsl.arduino.editor/{src => src-gen}/fr/obeo/dsl/arduino/presentation/ArduinoModelWizard.java (100%) create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/.classpath create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/.project create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/META-INF/MANIFEST.MF create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/build.properties create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/description/simulator.odesign create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/icons/breakpoint.gif create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/icons/breakpoint_disabled.gif create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/icons/breakpoint_enabled.gif create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/icons/debug_exc.gif create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/icons/launch.png create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/plugin.xml create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/pom.xml create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/Activator.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/SiriusSimulator.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/action/DebugAsAction.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/action/ToggleBreakpointAction.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/launcher/LauncherDelegate.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/launcher/TabGroup.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/services/SimulatorServices.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/.classpath create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/.project create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/META-INF/MANIFEST.MF create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/build.properties create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/pom.xml create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/src/fr/obeo/dsl/arduino/simulator/LoopSwitch.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/src/fr/obeo/dsl/arduino/simulator/SetupSwitch.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/src/fr/obeo/dsl/arduino/simulator/SimulationStoppedException.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/src/fr/obeo/dsl/arduino/simulator/Simulator.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator/src/fr/obeo/dsl/arduino/simulator/debug/SimulatorDebugger.java rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/AnalogPin.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ArduinoFactory.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ArduinoPackage.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/BooleanOperator.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Connector.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Constant.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Control.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Delay.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/DigitalPin.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Function.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/FunctionCall.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Hardware.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/IO.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/If.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/InputModule.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Instruction.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Level.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Library.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/MathOperator.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Module.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ModuleInstruction.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ModuleKind.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/NamedElement.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/NumericalOperator.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/OperatorKind.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/OutputModule.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Parameter.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ParameterCall.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ParameterDefinition.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/ParameterType.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Pin.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Platform.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Project.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Repeat.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Sensor.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Set.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Sketch.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Status.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Time.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Utilities.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Value.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/Variable.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/While.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/AnalogPinImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ArduinoFactoryImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ArduinoPackageImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/BooleanOperatorImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ConnectorImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ConstantImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ControlImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/DelayImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/DigitalPinImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/FunctionCallImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/FunctionImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/HardwareImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/IOImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/IfImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/InputModuleImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/InstructionImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/LevelImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/MathOperatorImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ModuleImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ModuleInstructionImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/NamedElementImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/NumericalOperatorImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/OutputModuleImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ParameterCallImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ParameterDefinitionImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ParameterImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/PinImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/PlatformImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ProjectImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/RepeatImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/SensorImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/SetImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/SketchImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/StatusImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/UtilitiesImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/ValueImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/VariableImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/impl/WhileImpl.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/util/ArduinoAdapterFactory.java (100%) rename plugins/fr.obeo.dsl.arduino/{src => src-gen}/fr/obeo/dsl/arduino/util/ArduinoSwitch.java (100%) create mode 100644 plugins/fr.obeo.dsl.arduino/src/fr/obeo/dsl/arduino/ArduinoUtils.java diff --git a/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign b/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign index b77a6f8..32faba6 100644 --- a/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign +++ b/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign @@ -2,7 +2,7 @@ - +