]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.export.core/src/org/simantics/export/core/manager/ExportAction.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / manager / ExportAction.java
index 94b62fbedaa63550196ab418e9eb9b4cd668633c..c36d22cdc9f6d4d4c30565453a0f16e791a97505 100644 (file)
@@ -1,63 +1,63 @@
-package org.simantics.export.core.manager;\r
-\r
-import java.util.List;\r
-\r
-import org.eclipse.core.runtime.IProgressMonitor;\r
-import org.simantics.databoard.binding.mutable.Variant;\r
-import org.simantics.export.core.ExportContext;\r
-import org.simantics.export.core.error.ExportException;\r
-\r
-/**\r
- * A single article of export action in an export plan.\r
- *\r
- * @author toni.kalajainen@semantum.fi\r
- */\r
-public abstract class ExportAction {\r
-       \r
-       /**\r
-        * Execute export action.\r
-        * \r
-        * @param ctx\r
-        * @param progress\r
-        * @param options\r
-        * @throws ExportException\r
-        */\r
-       public abstract void execute(ExportContext ctx, IProgressMonitor progress, Variant options)\r
-                       throws ExportException;\r
-       \r
-       /**\r
-        * Get the label for this action to be used in user interface.\r
-        * \r
-        * @param ctx\r
-        * @return the label for this action.\r
-        */\r
-       public abstract String label(ExportContext ctx);\r
-       \r
-       /**\r
-        * Get the amount of work in this action (used in progress bar).\r
-        * \r
-        * @param ctx\r
-        * @return the amount of work\r
-        */\r
-       public abstract int work(ExportContext ctx);\r
-       \r
-       /**\r
-        * Validate action is executable\r
-        * \r
-        * @param ctx\r
-        * @param options\r
-        * @return null or a label describing the expected problem\r
-        */\r
-       public abstract List<String> validate(ExportContext ctx, Variant options);\r
-       \r
-       /**\r
-        * Cancel and cleanup the output of this action. Deletes temporary files. \r
-        * \r
-        * @param ctx\r
-        * @param progress\r
-        * @param options\r
-        * @throws ExportException\r
-        */\r
-       public abstract void cleanup(ExportContext ctx, IProgressMonitor progress, Variant options) throws ExportException;\r
-       \r
-}\r
+package org.simantics.export.core.manager;
+
+import java.util.List;
+
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.simantics.databoard.binding.mutable.Variant;
+import org.simantics.export.core.ExportContext;
+import org.simantics.export.core.error.ExportException;
+
+/**
+ * A single article of export action in an export plan.
+ *
+ * @author toni.kalajainen@semantum.fi
+ */
+public abstract class ExportAction {
+       
+       /**
+        * Execute export action.
+        * 
+        * @param ctx
+        * @param progress
+        * @param options
+        * @throws ExportException
+        */
+       public abstract void execute(ExportContext ctx, IProgressMonitor progress, Variant options)
+                       throws ExportException;
+       
+       /**
+        * Get the label for this action to be used in user interface.
+        * 
+        * @param ctx
+        * @return the label for this action.
+        */
+       public abstract String label(ExportContext ctx);
+       
+       /**
+        * Get the amount of work in this action (used in progress bar).
+        * 
+        * @param ctx
+        * @return the amount of work
+        */
+       public abstract int work(ExportContext ctx);
+       
+       /**
+        * Validate action is executable
+        * 
+        * @param ctx
+        * @param options
+        * @return null or a label describing the expected problem
+        */
+       public abstract List<String> validate(ExportContext ctx, Variant options);
+       
+       /**
+        * Cancel and cleanup the output of this action. Deletes temporary files. 
+        * 
+        * @param ctx
+        * @param progress
+        * @param options
+        * @throws ExportException
+        */
+       public abstract void cleanup(ExportContext ctx, IProgressMonitor progress, Variant options) throws ExportException;
+       
+}