Exemple #1
0
 void show(Root root) {
   _target = root;
   _hostname.setText(root.getRegistryInfo().hostname);
   _applications.setSortedMap(root.getApplicationMap());
   _objects.setObjects(root.getObjects());
   _adapters.setAdapters(root.getAdapters());
 }
Exemple #2
0
  protected void discardUpdate() {
    Root root = _target.getRoot();

    if (_target.isEphemeral()) {
      _target.delete();
    } else {
      _target.getCoordinator().getCurrentTab().showNode(_target);
    }
    root.cancelEdit();
  }