]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java
Set copyright texts for java files in the latest development branches.
[simantics/3d.git] / org.simantics.proconf.g3d / src / org / simantics / proconf / g3d / base / ThreeDimensionalEditorBase.java
index fe7a2833bda73525a90b19f276d01582b59de031..51f47fe95e423cac7b6177e99871ca112ba24fc9 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************\r
- * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.\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
@@ -63,7 +63,7 @@ import org.simantics.proconf.g3d.input.SWTInputProvider;
 import org.simantics.proconf.g3d.scenegraph.IGeometryNode;\r
 import org.simantics.proconf.g3d.scenegraph.IGraphicsNode;\r
 import org.simantics.proconf.g3d.tools.ScenegraphLockTraverser;\r
-import org.simantics.utils.ErrorLogger;\r
+import org.simantics.utils.ui.ErrorLogger;\r
 import org.simantics.utils.ui.jface.MenuTools;\r
 \r
 import com.jme.math.Ray;\r
@@ -137,6 +137,11 @@ public abstract class ThreeDimensionalEditorBase implements  Runnable {
        this.component = component;\r
     }\r
     \r
+    protected void setRenderingComponent(JmeRenderingComponent component) {\r
+       assert(renderingComposite == null); // ensure that this is called before initialization\r
+       this.component = component;\r
+    }\r
+    \r
 //    public void setActionBarContributor(IEditorActionBarContributor contributor) {\r
 //     actionBarContributor = contributor;\r
 //    }\r