projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GUIComponents now have names
[Mograsim.git]
/
net.mograsim.logic.ui.am2900
/
src
/
net
/
mograsim
/
logic
/
ui
/
model
/
components
/
mi
/
nandbased
/
am2901
/
GUIAm2901ALUFuncDecode.java
diff --git
a/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java
b/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java
index
09eeab4
..
07af76d
100644
(file)
--- a/
net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java
+++ b/
net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUFuncDecode.java
@@
-15,7
+15,12
@@
public class GUIAm2901ALUFuncDecode extends SimpleRectangularSubmodelComponent
{
public GUIAm2901ALUFuncDecode(ViewModelModifiable model)
{
{
public GUIAm2901ALUFuncDecode(ViewModelModifiable model)
{
- super(model, 1, "GUIAm2901ALUFuncDecode");
+ this(model, null);
+ }
+
+ public GUIAm2901ALUFuncDecode(ViewModelModifiable model, String name)
+ {
+ super(model, 1, "GUIAm2901ALUFuncDecode", name);
setSubmodelScale(.25);
setInputPins("I5", "I4", "I3");
setOutputPins("CinE", "L", "SN", "SBE", "FN", "RN");
setSubmodelScale(.25);
setInputPins("I5", "I4", "I3");
setOutputPins("CinE", "L", "SN", "SBE", "FN", "RN");
@@
-111,6
+116,6
@@
public class GUIAm2901ALUFuncDecode extends SimpleRectangularSubmodelComponent
static
{
IndirectGUIComponentCreator.setComponentSupplier(GUIAm2901ALUFuncDecode.class.getCanonicalName(),
static
{
IndirectGUIComponentCreator.setComponentSupplier(GUIAm2901ALUFuncDecode.class.getCanonicalName(),
- (m, p
) -> new GUIAm2901ALUFuncDecode(m
));
+ (m, p
, n) -> new GUIAm2901ALUFuncDecode(m, n
));
}
}
\ No newline at end of file
}
}
\ No newline at end of file