import org.simantics.g2d.element.ElementUtils;\r
import org.simantics.g2d.element.IElement;\r
import org.simantics.g2d.element.handler.impl.StaticObjectAdapter;\r
-import org.simantics.structural.stubs.StructuralResource2;\r
import org.simantics.structural2.modelingRules.CPIgnore;\r
import org.simantics.structural2.modelingRules.ConnectionJudgement;\r
import org.simantics.structural2.modelingRules.ConnectionJudgementType;\r
import org.simantics.structural2.modelingRules.IConnectionPoint;\r
import org.simantics.structural2.modelingRules.IModelingRules;\r
import org.simantics.sysdyn.SysdynResource;\r
-import org.simantics.sysdyn.ui.elements2.CloudFactory.CloudSceneGraph;\r
+import org.simantics.sysdyn.ui.elements.CloudFactory.CloudSceneGraph;\r
\r
public class SysdynConnectionAdvisor implements IConnectionAdvisor {\r
\r
Resource endElementResource = soa.adapt(Resource.class);\r
\r
DiagramResource dr = DiagramResource.getInstance(g);\r
- StructuralResource2 str2 = StructuralResource2.getInstance(g);\r
Resource terminal2 = ((ResourceTerminal) term2).getResource();\r
SysdynResource sr = SysdynResource.getInstance(g);\r
\r
import org.simantics.g2d.participant.MouseUtil;\r
import org.simantics.g2d.participant.MouseUtil.MouseInfo;\r
import org.simantics.scenegraph.g2d.G2DParentNode;\r
-import org.simantics.scenegraph.g2d.events.KeyEvent;\r
-import org.simantics.scenegraph.g2d.events.MouseEvent;\r
import org.simantics.scenegraph.g2d.events.EventHandlerReflection.EventHandler;\r
+import org.simantics.scenegraph.g2d.events.KeyEvent;\r
import org.simantics.scenegraph.g2d.events.KeyEvent.KeyPressedEvent;\r
import org.simantics.scenegraph.g2d.events.KeyEvent.KeyReleasedEvent;\r
-import org.simantics.scenegraph.g2d.events.MouseEvent.MouseClickEvent;\r
+import org.simantics.scenegraph.g2d.events.MouseEvent;\r
import org.simantics.scenegraph.g2d.events.MouseEvent.MouseMovedEvent;\r
import org.simantics.scenegraph.g2d.nodes.ShapeNode;\r
import org.simantics.sysdyn.SysdynResource;\r
-import org.simantics.sysdyn.ui.elements2.AuxiliaryFactory;\r
-import org.simantics.sysdyn.ui.elements2.CloudFactory;\r
-import org.simantics.sysdyn.ui.elements2.InputFactory;\r
-import org.simantics.sysdyn.ui.elements2.StockFactory;\r
-import org.simantics.sysdyn.ui.elements2.ValveFactory;\r
+import org.simantics.sysdyn.ui.elements.AuxiliaryFactory;\r
+import org.simantics.sysdyn.ui.elements.CloudFactory;\r
+import org.simantics.sysdyn.ui.elements.InputFactory;\r
+import org.simantics.sysdyn.ui.elements.StockFactory;\r
+import org.simantics.sysdyn.ui.elements.ValveFactory;\r
import org.simantics.ui.SimanticsUI;\r
import org.simantics.utils.datastructures.Callback;\r
import org.simantics.utils.ui.ExceptionUtils;\r