X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.proconf.g3d%2Fsrc%2Forg%2Fsimantics%2Fproconf%2Fg3d%2Fbase%2FThreeDimensionalEditorBase.java;h=51f47fe95e423cac7b6177e99871ca112ba24fc9;hb=3055b543aa5afc0cca4bb3b341704e7c5103fa6a;hp=f415c3e309e5d0d360dd531b20a9625d6efac21c;hpb=f9e3fe0569bf1cf3bbcdbc56fb81c736cba086f9;p=simantics%2F3d.git diff --git a/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java b/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java index f415c3e3..51f47fe9 100644 --- a/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java +++ b/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 VTT Technical Research Centre of Finland and others. + * Copyright (c) 2007- VTT Technical Research Centre of Finland. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -137,6 +137,11 @@ public abstract class ThreeDimensionalEditorBase implements Runnable { this.component = component; } + protected void setRenderingComponent(JmeRenderingComponent component) { + assert(renderingComposite == null); // ensure that this is called before initialization + this.component = component; + } + // public void setActionBarContributor(IEditorActionBarContributor contributor) { // actionBarContributor = contributor; // }