]> gerrit.simantics Code Review - simantics/3d.git/blob
2c5427b2264215d90f3f54e4cd4f36433785ffdc
[simantics/3d.git] /
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
7  *\r
8  * Contributors:\r
9  *     VTT Technical Research Centre of Finland - initial API and implementation\r
10  *******************************************************************************/\r
11 package org.simantics.proconf.g3d.shapeeditor.views;\r
12 \r
13 import org.simantics.db.Resource;\r
14 import org.simantics.db.management.ISessionContext;\r
15 import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
16 import org.simantics.proconf.browsing.views.GraphExplorerOutlinePage;\r
17 import org.simantics.proconf.g3d.shapeeditor.common.ViewpointGenerator;\r
18 \r
19 public class StructureOutlinePage extends GraphExplorerOutlinePage {\r
20         \r
21         \r
22         public StructureOutlinePage(ISessionContext session, Resource model) {\r
23                 super(session,model);\r
24         }\r
25         \r
26         @Override\r
27         public ResourceViewpoint getViewPoint(ISessionContext sessionContext) {\r
28                 return ViewpointGenerator.createObjectStructureViewpoint();\r
29         }\r
30         \r
31 }\r