projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaned up Editor: removed warnings; cleaned listener system
[Mograsim.git]
/
plugins
/
net.mograsim.logic.model.editor
/
src
/
net
/
mograsim
/
logic
/
model
/
editor
/
handles
/
ComponentHandle.java
diff --git
a/plugins/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/ComponentHandle.java
b/plugins/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/ComponentHandle.java
index
14868e9
..
2330073
100644
(file)
--- a/
plugins/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/ComponentHandle.java
+++ b/
plugins/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/ComponentHandle.java
@@
-29,7
+29,7
@@
public class ComponentHandle extends Handle
this.parent = parent;
Rectangle bounds = parent.getBounds();
setSize(bounds.width, bounds.height);
this.parent = parent;
Rectangle bounds = parent.getBounds();
setSize(bounds.width, bounds.height);
- parent.addComponentResizedListener(
(c)
->
+ parent.addComponentResizedListener(
c
->
{
Rectangle pBounds = c.getBounds();
setSize(pBounds.width, pBounds.height);
{
Rectangle pBounds = c.getBounds();
setSize(pBounds.width, pBounds.height);