public void entryBoxHandler (EntryBox e, Object arg) { if (state != stateEdit) return; state = stateIdle; if (e.GetButton() == 0) { curnode.SetInst (e.GetText()); NotifyViewers(); } }