From 3fcb517bc14fa61cf27db44f98b1de4e1056450b Mon Sep 17 00:00:00 2001 From: hneemann Date: Tue, 12 Apr 2016 15:37:41 +0200 Subject: [PATCH] More consistent handling of observers. One very common method (addObserver) needs to be renamed. --- src/main/java/de/neemann/digital/draw/elements/Circuit.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/neemann/digital/draw/elements/Circuit.java b/src/main/java/de/neemann/digital/draw/elements/Circuit.java index 8db9192b8..75726f689 100644 --- a/src/main/java/de/neemann/digital/draw/elements/Circuit.java +++ b/src/main/java/de/neemann/digital/draw/elements/Circuit.java @@ -404,7 +404,8 @@ public class Circuit { * The ObservableValue is not connected to a model! Its just a wrapper for the outputs name. * This method is used to create dummy outputs for a nested element. * They are not used, because during creation of a model all inputs and outputs which connect a model - * with a nested model are removed from the model and replaced by a direct connection of inputs and outputs. + * with a nested model are removed from the model and replaced by a direct connection of the input or output + * and the wires of the containing model. * * @param library the library * @return the list of output ObservableValues