]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/INode.java
Performance improvements for ParentNode in scene graph
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / INode.java
index c14edca841903af5dabc69496689d845f1f98d78..755bb755f31a0ffd77628198378ca0db38a09430 100644 (file)
@@ -78,7 +78,7 @@ public interface INode extends Serializable {
      * 
      * @return unique node identifier
      */
-    public Long getId();
+    public long getId();
 
     /**
      * @return root node of the scene graph or <code>null</code> if this node is
@@ -109,8 +109,7 @@ public interface INode extends Serializable {
      * @see ParentNode#getOrCreateNode(String, Class)
      */
     public void init();
-    public void attach();
-    
+
     /**
      * Perform cleanup for this node and for the child nodes. Any resources
      * (including child nodes) related to this node are unusable after this