summaryrefslogtreecommitdiff
path: root/java/src/IceGrid/TreeNode/CommonBase.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-08-02 15:39:34 +0000
committerBernard Normier <bernard@zeroc.com>2005-08-02 15:39:34 +0000
commitca26b6792a02d7ffeffd172a0744566b78cf4602 (patch)
tree3a72423e563996d3788ee77d0f3bc055795d2e16 /java/src/IceGrid/TreeNode/CommonBase.java
parentLocalExceptions -> LocalException (diff)
downloadice-ca26b6792a02d7ffeffd172a0744566b78cf4602.tar.bz2
ice-ca26b6792a02d7ffeffd172a0744566b78cf4602.tar.xz
ice-ca26b6792a02d7ffeffd172a0744566b78cf4602.zip
Fixed build failure
Diffstat (limited to 'java/src/IceGrid/TreeNode/CommonBase.java')
-rwxr-xr-xjava/src/IceGrid/TreeNode/CommonBase.java36
1 files changed, 7 insertions, 29 deletions
diff --git a/java/src/IceGrid/TreeNode/CommonBase.java b/java/src/IceGrid/TreeNode/CommonBase.java
index 07a2c23b49f..6af9f19194d 100755
--- a/java/src/IceGrid/TreeNode/CommonBase.java
+++ b/java/src/IceGrid/TreeNode/CommonBase.java
@@ -32,47 +32,25 @@ public interface CommonBase extends TreeCellRenderer
String getId();
//
- // Add this node as a parent. This operation does something
- // only when newParent a root node or was attached to a
- // root node using addParent().
- // addParent() is propagated to the child of this node.
+ // Set this node as a parent, and recursively update
+ // the path of all children.
// This method has no effect on the parent->children relationship,
// only child->parent.
//
- void addParent(CommonBase newParent);
+ void setParent(CommonBase newParent);
//
- // Recursively destroys a sub-parent-tree: the children
- // forget this parent, but it does not affect the parents
- // knowledge about their children.
- //
- void removeParent(CommonBase parent);
-
-
- //
- // Adds this parent for this view. Used by the view-less addParent
- // to notify its children.
- //
- void addParent(CommonBase newParent, TreePath path, int view);
-
- //
- // Remove the parent for this view; used by the view-less
- // removeParent to notify its children.
- //
- void removeParent(int view);
-
- //
- // Get the parent for the given view
+ // Get this node's parent
// This is used by nodes to create events
// pointing to themselves
//
- CommonBase getParent(int view);
+ CommonBase getParent();
//
- // The path to this node for the given view;
+ // The path to this node
// typically used by children to create TreeModelEvents
//
- TreePath getPath(int view);
+ TreePath getPath();
//
// Get pop-up menu