]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/common/VTKNodeMap.java
Use generics type variable for mapping db object.
[simantics/3d.git] / org.simantics.g3d.vtk / src / org / simantics / g3d / vtk / common / VTKNodeMap.java
index 055d03733cd12b72e244bdbabfa17afeb3e2b47e..5de2b10dd056ba7310d806826c5e8fbafbcea6e3 100644 (file)
@@ -1,11 +1,24 @@
-package org.simantics.g3d.vtk.common;\r
-\r
-import org.simantics.g3d.scenegraph.NodeMap;\r
-\r
-import vtk.vtkProp;\r
-\r
-public interface VTKNodeMap extends NodeMap<vtkProp>{\r
-\r
-       \r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2012, 2013 Association for Decentralized Information Management in
+ * Industry THTH ry.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.g3d.vtk.common;
+
+import org.simantics.g3d.scenegraph.IG3DNode;
+import org.simantics.g3d.scenegraph.NodeMap;
+import org.simantics.g3d.scenegraph.base.INode;
+
+import vtk.vtkProp;
+
+public interface VTKNodeMap<DBObject,E extends INode> extends NodeMap<DBObject,vtkProp, E>{
+
+       
+
+}