]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.csg/src/org/simantics/g3d/csg/wizard/CSGBrepModelExporter.java
White space clean-up
[simantics/3d.git] / org.simantics.g3d.csg / src / org / simantics / g3d / csg / wizard / CSGBrepModelExporter.java
index 8e00a3de23773023a4f5025d9ae885a5b70a4b57..a0e742ec41f2b1a9414810470c4dc7bad5289b50 100644 (file)
@@ -1,3 +1,14 @@
+/*******************************************************************************\r
+ * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
+ * Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ *     VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
 package org.simantics.g3d.csg.wizard;\r
 \r
 import java.io.IOException;\r
@@ -32,19 +43,19 @@ public class CSGBrepModelExporter implements IRunnableWithProgress {
                @Override\r
                public void run(IProgressMonitor monitor) throws InvocationTargetException,\r
                                InterruptedException {\r
-                        SubMonitor progress = SubMonitor.convert(monitor, 50);\r
-                        SubMonitor mon = progress.newChild(50, SubMonitor.SUPPRESS_NONE);\r
-                       try {\r
-                           exportModel(mon);\r
-                       } catch (IOException e) {\r
-                               mon.setCanceled(true);\r
-                           throw new InvocationTargetException(e);\r
-                       } catch (DatabaseException e) {\r
-                               mon.setCanceled(true);\r
-                           throw new InvocationTargetException(e);\r
-                       }  finally {\r
-                           monitor.done();\r
-                       }\r
+                       SubMonitor progress = SubMonitor.convert(monitor, 50);\r
+                       SubMonitor mon = progress.newChild(50, SubMonitor.SUPPRESS_NONE);\r
+                       try {\r
+                               exportModel(mon);\r
+                       } catch (IOException e) {\r
+                               mon.setCanceled(true);\r
+                               throw new InvocationTargetException(e);\r
+                       } catch (DatabaseException e) {\r
+                               mon.setCanceled(true);\r
+                               throw new InvocationTargetException(e);\r
+                       }  finally {\r
+                               monitor.done();\r
+                       }\r
                        \r
                }\r
 \r