X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=net.mograsim.logic.model.editor%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Feditor%2Fhandles%2FWirePointHandle.java;h=2947535fb70cfec4989553676c07c8a7ffdf7c3e;hb=93b398d6271a538a2a4c9f4de07a3b4a8a2a7fd4;hp=4c0b9a31ecf3b4f22709b640f77da5cb9736b2c3;hpb=452b5630f12a4ffa8b15012980f2e6b8469c571b;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/WirePointHandle.java b/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/WirePointHandle.java index 4c0b9a31..2947535f 100644 --- a/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/WirePointHandle.java +++ b/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/WirePointHandle.java @@ -5,19 +5,19 @@ import org.eclipse.swt.widgets.Display; import net.haspamelodica.swt.helper.gcs.GeneralGC; import net.haspamelodica.swt.helper.swtobjectwrappers.Point; -import net.mograsim.logic.core.wires.Wire; -import net.mograsim.logic.model.model.wires.GUIWire; +import net.mograsim.logic.core.wires.CoreWire; +import net.mograsim.logic.model.model.wires.ModelWire; public class WirePointHandle extends Handle { private final static int END_OFFSET = 4; private final HandleManager manager; private boolean selected = false; - public final GUIWire parent; + public final ModelWire parent; private int pointIndex; - public WirePointHandle(HandleManager manager, GUIWire parent, int pointIndex) + public WirePointHandle(HandleManager manager, ModelWire parent, int pointIndex) { super(3); this.manager = manager; @@ -76,7 +76,7 @@ public class WirePointHandle extends Handle } /** - * Sets the index of the {@link Point} within the parent {@link Wire}s path that is controlled by this handle + * Sets the index of the {@link Point} within the parent {@link CoreWire}s path that is controlled by this handle * * @param index Index of the Point in the Wires path. * @throws IndexOutOfBoundsException