]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.shapeeditor/src/org/simantics/proconf/g3d/shapeeditor/views/CSGModellingView.java
git-svn-id: https://www.simantics.org/svn/simantics/3d/trunk@22283 ac1ea38d-2e2b...
[simantics/3d.git] / org.simantics.g3d.shapeeditor / src / org / simantics / proconf / g3d / shapeeditor / views / CSGModellingView.java
diff --git a/org.simantics.g3d.shapeeditor/src/org/simantics/proconf/g3d/shapeeditor/views/CSGModellingView.java b/org.simantics.g3d.shapeeditor/src/org/simantics/proconf/g3d/shapeeditor/views/CSGModellingView.java
new file mode 100644 (file)
index 0000000..513712b
--- /dev/null
@@ -0,0 +1,33 @@
+/*******************************************************************************\r
+ * Copyright (c) 2007- VTT Technical Research Centre of Finland.\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.proconf.g3d.shapeeditor.views;\r
+\r
+import org.eclipse.swt.widgets.Composite;\r
+\r
+import org.simantics.db.management.ISessionContext;\r
+import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
+import org.simantics.proconf.browsing.GraphExplorer;\r
+import org.simantics.proconf.browsing.views.GraphExplorerView;\r
+import org.simantics.proconf.g3d.shapeeditor.common.ViewpointGenerator;\r
+\r
+public class CSGModellingView extends GraphExplorerView {\r
+\r
+       @Override\r
+       protected GraphExplorer createExplorer(Composite parent) {\r
+               return super.createExplorer(parent);\r
+       }\r
+       \r
+       @Override\r
+       protected ResourceViewpoint getViewpoint(ISessionContext context) {\r
+               return ViewpointGenerator.createViewpoint();\r
+       }\r
+\r
+}\r