Introduced mini-buttons to the GUIManualSwitch to flip single bits
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / ViewModelModifiable.java
index d9dbdc4..97993a7 100644 (file)
@@ -5,13 +5,14 @@ import java.util.Set;
 import net.mograsim.logic.model.model.components.GUIComponent;
 import net.mograsim.logic.model.model.wires.GUIWire;
 
+//TODO a ViewModel is modifiable without casting to ViewModelModifiable via GUIWire::destroy and GUIComponent::destroy
 public class ViewModelModifiable extends ViewModel
 {
        public String getDefaultComponentName(GUIComponent component)
        {
                Set<String> componentNames = getComponentsByName().keySet();
-               // TODO get the ID of component^^
-               // The following does not work because this code is called in the constructor of DeserializedSubmodelComponent at a time where
+               // TODO get the ID of component
+               // The following does not work because this method is called in the constructor of DeserializedSubmodelComponent at a time where
                // idForSerializingOverride is not yet set
 //             String componentID = null;
 //             if (component instanceof DeserializedSubmodelComponent)