You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/05/07 11:31:16 UTC
[plc4x] branch develop updated: - Added some imports back,
that IntelliJ seems to think are not needed (Had to add them for
the second time now)
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new e59d737 - Added some imports back, that IntelliJ seems to think are not needed (Had to add them for the second time now)
e59d737 is described below
commit e59d737e63d3d48efd26f80225a24bdefb097ba7
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue May 7 13:31:06 2019 +0200
- Added some imports back, that IntelliJ seems to think are not needed (Had to add them for the second time now)
---
plc4j/examples/hello-webapp/client/src/main/royale/HelloPLC4X.mxml | 3 +++
.../hello-webapp/client/src/main/royale/service/RobotService.as | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/plc4j/examples/hello-webapp/client/src/main/royale/HelloPLC4X.mxml b/plc4j/examples/hello-webapp/client/src/main/royale/HelloPLC4X.mxml
index b01a9b2..c78bb06 100644
--- a/plc4j/examples/hello-webapp/client/src/main/royale/HelloPLC4X.mxml
+++ b/plc4j/examples/hello-webapp/client/src/main/royale/HelloPLC4X.mxml
@@ -30,6 +30,9 @@
<fx:Script>
<![CDATA[
+ import org.apache.royale.events.Event;
+ import org.apache.royale.events.MouseEvent;
+
public function move(event:MouseEvent):void {
if (event.target == moveForwardLeftButton) {
robotService.moveForwardLeft();
diff --git a/plc4j/examples/hello-webapp/client/src/main/royale/service/RobotService.as b/plc4j/examples/hello-webapp/client/src/main/royale/service/RobotService.as
index 026e318..2dd3772 100644
--- a/plc4j/examples/hello-webapp/client/src/main/royale/service/RobotService.as
+++ b/plc4j/examples/hello-webapp/client/src/main/royale/service/RobotService.as
@@ -19,6 +19,11 @@
package service
{
+import org.apache.royale.events.Event;
+import org.apache.royale.events.EventDispatcher;
+import org.apache.royale.net.HTTPConstants;
+import org.apache.royale.net.HTTPService;
+
[Event(name="success", type="org.apache.royale.events.Event")]
public class RobotService extends EventDispatcher {