]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/src/org/simantics/g3d/gizmo/Gizmo.java
Using SWT thread with Plant3d
[simantics/3d.git] / org.simantics.g3d / src / org / simantics / g3d / gizmo / Gizmo.java
index 6fc572002f2dc45f43699b0ffe4318887e0428fa..9b9b072758f45f56688853df9ccb34413456b055 100644 (file)
@@ -1,17 +1,28 @@
-package org.simantics.g3d.gizmo;\r
-\r
-import javax.vecmath.AxisAngle4d;\r
-import javax.vecmath.Tuple3d;\r
-\r
-public interface Gizmo<T> {\r
-       \r
-       \r
-       public boolean isPartOf(T pickedObject);\r
-       \r
-       \r
-       public void attach(Object renderingPart);\r
-       public void deattach();\r
-       \r
-        public void setPosition(Tuple3d position);\r
-        public void setRotation(AxisAngle4d q);\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.gizmo;
+
+import javax.vecmath.AxisAngle4d;
+import javax.vecmath.Tuple3d;
+
+public interface Gizmo<T,T2> {
+       
+       
+       public boolean isPartOf(T pickedObject);
+       
+       
+       public void attach(T2 renderingPart);
+       public void deattach();
+       
+        public void setPosition(Tuple3d position);
+        public void setRotation(AxisAngle4d q);
+}