]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.csg/src/org/simantics/g3d/csg/wizard/CSGExportPage.java
White space clean-up
[simantics/3d.git] / org.simantics.g3d.csg / src / org / simantics / g3d / csg / wizard / CSGExportPage.java
index 8a3237dc13d2bf998972e292ec5d04e4b68283d7..5e9dc85c48390aa17f2c4e01b5eb1a379842ad31 100644 (file)
@@ -25,7 +25,7 @@ import org.simantics.layer0.Layer0;
 public class CSGExportPage extends ModelExportWizardPage<CSGExportModel> {\r
        \r
 \r
-    \r
+       \r
        public CSGExportPage(CSGExportModel model) {\r
                super("Export CSG Model","Define Export Location",null,model);\r
        }\r
@@ -45,18 +45,14 @@ public class CSGExportPage extends ModelExportWizardPage<CSGExportModel> {
        protected List<NamedResource> getSupportedModels(ReadGraph graph, Resource project) throws DatabaseException {\r
                List<NamedResource> models = new ArrayList<NamedResource>();\r
                Layer0 L0 = Layer0.getInstance(graph);\r
-        CSG csg = CSG.getInstance(graph);\r
-        \r
-        for (Resource r : graph.getObjects(project, L0.ConsistsOf)) {\r
-                if (graph.isInstanceOf(r, csg.Model)) {\r
-                        models.add(new NamedResource((String)graph.getRelatedValue(r, L0.HasName), r));\r
-                }\r
-        }\r
-        return models;\r
+               CSG csg = CSG.getInstance(graph);\r
+               \r
+               for (Resource r : graph.getObjects(project, L0.ConsistsOf)) {\r
+                       if (graph.isInstanceOf(r, csg.Model)) {\r
+                               models.add(new NamedResource((String)graph.getRelatedValue(r, L0.HasName), r));\r
+                       }\r
+               }\r
+               return models;\r
        }\r
-   \r
-\r
\r
-\r
 \r
 }\r