projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed obsolete classes SubmodelExample and TestSubmodelNANDComponent
[Mograsim.git]
/
net.mograsim.logic.ui
/
src
/
net
/
mograsim
/
logic
/
ui
/
model
/
components
/
GUIComponent.java
diff --git
a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/GUIComponent.java
b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/GUIComponent.java
index
ca21622
..
a4c1031
100644
(file)
--- a/
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/GUIComponent.java
+++ b/
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/GUIComponent.java
@@
-5,14
+5,14
@@
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;
import java.util.List;
import java.util.function.Consumer;
-import net.mograsim.logic.ui.model.ViewModel;
-import net.mograsim.logic.ui.model.wires.Pin;
import net.haspamelodica.swt.helper.gcs.GeneralGC;
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
import net.haspamelodica.swt.helper.gcs.GeneralGC;
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
+import net.mograsim.logic.ui.model.ViewModelModifiable;
+import net.mograsim.logic.ui.model.wires.Pin;
public abstract class GUIComponent
{
public abstract class GUIComponent
{
- protected final ViewModel model;
+ protected final ViewModel
Modifiable
model;
private final Rectangle bounds;
private final List<Pin> pins;
protected final List<Pin> pinsUnmodifiable;
private final Rectangle bounds;
private final List<Pin> pins;
protected final List<Pin> pinsUnmodifiable;
@@
-24,7
+24,7
@@
public abstract class GUIComponent
private final Runnable redrawListenerForSubcomponents;
private final Runnable redrawListenerForSubcomponents;
- public GUIComponent(ViewModel model)
+ public GUIComponent(ViewModel
Modifiable
model)
{
this.model = model;
this.bounds = new Rectangle(0, 0, 0, 0);
{
this.model = model;
this.bounds = new Rectangle(0, 0, 0, 0);