From bc86d7902dd7f5ed9d54f96394a37f221746702d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9lanie=20Bats?= Date: Mon, 15 Jun 2015 17:42:59 +0200 Subject: [PATCH] Add Simulator perspective and add simulator to the build --- .../feature.xml | 14 ++ .../ApplicationWorkbenchWindowAdvisor.java | 1 + .../description/arduino.odesign | 3 +- .../META-INF/MANIFEST.MF | 5 +- .../description/simulator.odesign | 10 +- .../icons/simulator.png | Bin 0 -> 941 bytes .../plugin.xml | 45 +++- .../simulator/design/DebugHandler.java | 236 ++++++++++++++++++ .../ArduinoSimulatorPerspectiveFactory.java | 23 ++ .../icons/32x32/simulator.png | Bin 0 -> 941 bytes plugins/fr.obeo.dsl.arduino.ui/plugin.xml | 70 +++++- releng/fr.obeo.dsl.arduino.parent/pom.xml | 5 +- .../arduinodesigner-luna.target | 8 +- .../arduinodesigner-luna.tpd | 7 + 14 files changed, 412 insertions(+), 15 deletions(-) create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/icons/simulator.png create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/DebugHandler.java create mode 100644 plugins/fr.obeo.dsl.arduino.simulator.design/src/fr/obeo/dsl/arduino/simulator/design/perspective/ArduinoSimulatorPerspectiveFactory.java create mode 100644 plugins/fr.obeo.dsl.arduino.ui/icons/32x32/simulator.png diff --git a/packaging/fr.obeo.dsl.arduino.runtime.feature/feature.xml b/packaging/fr.obeo.dsl.arduino.runtime.feature/feature.xml index 4636788..46fd8da 100644 --- a/packaging/fr.obeo.dsl.arduino.runtime.feature/feature.xml +++ b/packaging/fr.obeo.dsl.arduino.runtime.feature/feature.xml @@ -288,4 +288,18 @@ litigation. version="0.0.0" unpack="false"/> + + + + diff --git a/plugins/fr.obeo.dsl.arduino.branding/src/fr/obeo/dsl/arduino/branding/ApplicationWorkbenchWindowAdvisor.java b/plugins/fr.obeo.dsl.arduino.branding/src/fr/obeo/dsl/arduino/branding/ApplicationWorkbenchWindowAdvisor.java index ad1a724..fb7de24 100644 --- a/plugins/fr.obeo.dsl.arduino.branding/src/fr/obeo/dsl/arduino/branding/ApplicationWorkbenchWindowAdvisor.java +++ b/plugins/fr.obeo.dsl.arduino.branding/src/fr/obeo/dsl/arduino/branding/ApplicationWorkbenchWindowAdvisor.java @@ -36,6 +36,7 @@ public void preWindowOpen() { configurer.setShowCoolBar(true); configurer.setShowStatusLine(false); configurer.setTitle("Arduino Designer"); //$NON-NLS-1$ + configurer.setShowPerspectiveBar(true); } @Override diff --git a/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign b/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign index dec36b2..e3df316 100644 --- a/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign +++ b/plugins/fr.obeo.dsl.arduino.design/description/arduino.odesign @@ -305,9 +305,8 @@ - - +