-/*******************************************************************************\r
- * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
- * Industry THTH ry.\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
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-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);
+}