]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java
New 3d/trunk from branches/dev
[simantics/3d.git] / org.simantics.proconf.g3d / src / org / simantics / proconf / g3d / base / ThreeDimensionalEditorBase.java
index 32f36c8a0b8c1ae410c3a311e013c80737d8fb85..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
@@ -344,7 +344,7 @@ public abstract class ThreeDimensionalEditorBase implements  Runnable {
     }\r
     \r
     public String getMenuID() {\r
-       return Long.toString(getInputResource().getResourceId(session));\r
+       return Long.toString(getInputResource().getResourceId());\r
     }\r
 \r
     protected void makeActions(Graph graph) {\r