void show(Root root) { _target = root; _hostname.setText(root.getRegistryInfo().hostname); _applications.setSortedMap(root.getApplicationMap()); _objects.setObjects(root.getObjects()); _adapters.setAdapters(root.getAdapters()); }
protected void discardUpdate() { Root root = _target.getRoot(); if (_target.isEphemeral()) { _target.delete(); } else { _target.getCoordinator().getCurrentTab().showNode(_target); } root.cancelEdit(); }