private void swapProxy() { deactivate(); Node parent = getParent(); String newKey = getText() == "" ? proxy.getMeemPath().toString() : getText(); Node newNode = new DisconnectedMeemNode(newKey, this); parent.removeChildInternal(newKey); parent.addChild(newKey, newNode); parent.refreshVisual(); }
public MeemPath getMeemPath() { return proxy.getMeemPath(); }