1 /*******************************************************************************
\r
2 * Copyright (c) 2007- VTT Technical Research Centre of Finland.
\r
3 * All rights reserved. This program and the accompanying materials
\r
4 * are made available under the terms of the Eclipse Public License v1.0
\r
5 * which accompanies this distribution, and is available at
\r
6 * http://www.eclipse.org/legal/epl-v10.html
\r
9 * VTT Technical Research Centre of Finland - initial API and implementation
\r
10 *******************************************************************************/
\r
11 package org.simantics.proconf.g3d.shapeeditor.views;
\r
13 import org.eclipse.swt.widgets.Composite;
\r
15 import org.simantics.db.management.ISessionContext;
\r
16 import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;
\r
17 import org.simantics.proconf.browsing.GraphExplorer;
\r
18 import org.simantics.proconf.browsing.views.GraphExplorerView;
\r
19 import org.simantics.proconf.g3d.shapeeditor.common.ViewpointGenerator;
\r
21 public class CSGModellingView extends GraphExplorerView {
\r
24 protected GraphExplorer createExplorer(Composite parent) {
\r
25 return super.createExplorer(parent);
\r
29 protected ResourceViewpoint getViewpoint(ISessionContext context) {
\r
30 return ViewpointGenerator.createViewpoint();
\r