]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.charts/src/org/simantics/charts/editor/SendCommandAction.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.charts / src / org / simantics / charts / editor / SendCommandAction.java
index fc3edffbb95a2d3e258e514dc884a67a4748febd..42d1a744c3484c68d2330710305dab7e804a7baf 100644 (file)
@@ -1,28 +1,28 @@
-package org.simantics.charts.editor;\r
-\r
-import org.eclipse.jface.action.Action;\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.simantics.g2d.canvas.ICanvasContext;\r
-import org.simantics.g2d.utils.CanvasUtils;\r
-import org.simantics.scenegraph.g2d.events.command.Command;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class SendCommandAction extends Action {\r
-\r
-    private final ICanvasContext ctx;\r
-    private final Command command;\r
-\r
-    public SendCommandAction(String name, ImageDescriptor image, ICanvasContext ctx, Command command) {\r
-        super(name, image);\r
-        this.ctx = ctx;\r
-        this.command = command;\r
-    }\r
-\r
-    @Override\r
-    public void run() {\r
-        CanvasUtils.sendCommand(ctx, command);\r
-    }\r
-\r
-}\r
+package org.simantics.charts.editor;
+
+import org.eclipse.jface.action.Action;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.simantics.g2d.canvas.ICanvasContext;
+import org.simantics.g2d.utils.CanvasUtils;
+import org.simantics.scenegraph.g2d.events.command.Command;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class SendCommandAction extends Action {
+
+    private final ICanvasContext ctx;
+    private final Command command;
+
+    public SendCommandAction(String name, ImageDescriptor image, ICanvasContext ctx, Command command) {
+        super(name, image);
+        this.ctx = ctx;
+        this.command = command;
+    }
+
+    @Override
+    public void run() {
+        CanvasUtils.sendCommand(ctx, command);
+    }
+
+}