projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Logic model binding of WireCrossPoints is now being set
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
model
/
wires
/
WireCrossPoint.java
diff --git
a/LogicUI/src/era/mi/gui/model/wires/WireCrossPoint.java
b/LogicUI/src/era/mi/gui/model/wires/WireCrossPoint.java
index
73d98f5
..
724de54
100644
(file)
--- a/
LogicUI/src/era/mi/gui/model/wires/WireCrossPoint.java
+++ b/
LogicUI/src/era/mi/gui/model/wires/WireCrossPoint.java
@@
-10,6
+10,8
@@
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
public class WireCrossPoint extends GUIComponent
{
public class WireCrossPoint extends GUIComponent
{
+ private final Pin pin;
+
private ReadEnd end;
private final int logicWidth;
private ReadEnd end;
private final int logicWidth;
@@
-18,7
+20,7
@@
public class WireCrossPoint extends GUIComponent
super(model);
this.logicWidth = logicWidth;
setSize(0, 0);
super(model);
this.logicWidth = logicWidth;
setSize(0, 0);
- addPin(new Pin(this, logicWidth, 0, 0));
+ addPin(
this.pin =
new Pin(this, logicWidth, 0, 0));
}
@Override
}
@Override
@@
-37,4
+39,9
@@
public class WireCrossPoint extends GUIComponent
{
return logicWidth;
}
{
return logicWidth;
}
+
+ public Pin getPin()
+ {
+ return pin;
+ }
}
\ No newline at end of file
}
\ No newline at end of file