]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.plant3d/src/org/simantics/plant3d/project/P3DProjectFeature.java
Ask component rotation angle when adding components
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / project / P3DProjectFeature.java
1 package org.simantics.plant3d.project;
2
3 import org.simantics.project.ProjectKeys;
4 import org.simantics.project.exception.ProjectException;
5 import org.simantics.project.features.AbstractProjectFeature;
6 import org.simantics.project.features.IProjectFeature;
7
8 public class P3DProjectFeature extends AbstractProjectFeature implements IProjectFeature {
9
10         private static final String DEFAULT_PERSPECTIVE = "org.simantics.plant3d.perspective";
11         
12         public P3DProjectFeature() {
13                 // TODO Auto-generated constructor stub
14         }
15         
16         @Override
17         public void configure() throws ProjectException {
18                 getProjectElement().setHint(ProjectKeys.DEFAULT_PERSPECTIVE, DEFAULT_PERSPECTIVE);
19         }
20
21 }