From e690a7e69378a8c1090f83e85dd76eb8b0e6c533 Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Sat, 22 Jun 2019 15:07:57 +0200 Subject: [PATCH 1/1] Corrected documentation of wireCreated() and wireDestroyed() --- .../src/net/mograsim/logic/ui/model/ViewModel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/ViewModel.java b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/ViewModel.java index 869f1a11..1f69acf3 100644 --- a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/ViewModel.java +++ b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/ViewModel.java @@ -68,8 +68,8 @@ public class ViewModel } /** - * Adds the given component to the list of components and calls all componentAddedListeners. Don't call this method from application - * code as it is automatically called in GUIComponent::new. + * Adds the given wire to the list of wires and calls all wireAddedListeners. Don't call this method from application code as it is + * automatically called in GUIWire::new. */ protected void wireCreated(GUIWire wire) { @@ -82,8 +82,8 @@ public class ViewModel } /** - * Removes the given component from the list of components and calls all componentRemovedListeners. Don't call this method from - * application code as it is automatically called in GUIComponent::destroy. + * Removes the given wire from the list of wires and calls all wireRemovedListeners. Don't call this method from application code as it + * is automatically called in GUIWire::destroy. */ protected void wireDestroyed(GUIWire wire) { -- 2.17.1