]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/workbench/handler/AbstractDatabaseHandler.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / workbench / handler / AbstractDatabaseHandler.java
index b1a30988cf4f331336f89b15a8739c8b3d40388a..59d10121b92d5ef357779647ecfb76b231ae3767 100644 (file)
@@ -1,21 +1,21 @@
-package org.simantics.ui.workbench.handler;\r
-\r
-import org.eclipse.core.commands.AbstractHandler;\r
-import org.eclipse.core.commands.ExecutionEvent;\r
-import org.eclipse.core.commands.ExecutionException;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-abstract public class AbstractDatabaseHandler extends AbstractHandler {\r
-\r
-       abstract public Object checkedExecute(ExecutionEvent event) throws ExecutionException, DatabaseException;\r
-       \r
-    @Override\r
-    final public Object execute(ExecutionEvent event) throws ExecutionException {\r
-       try {\r
-                       return checkedExecute(event);\r
-               } catch (DatabaseException e) {\r
-                       throw new ExecutionException("The handler caught an unhandled exception, ", e);\r
-               }\r
-    }  \r
-       \r
-}\r
+package org.simantics.ui.workbench.handler;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.simantics.db.exception.DatabaseException;
+
+abstract public class AbstractDatabaseHandler extends AbstractHandler {
+
+       abstract public Object checkedExecute(ExecutionEvent event) throws ExecutionException, DatabaseException;
+       
+    @Override
+    final public Object execute(ExecutionEvent event) throws ExecutionException {
+       try {
+                       return checkedExecute(event);
+               } catch (DatabaseException e) {
+                       throw new ExecutionException("The handler caught an unhandled exception, ", e);
+               }
+    }  
+       
+}