diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-10-06 17:34:18 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-10-06 17:34:18 +0000 |
commit | 4b778b024a8bec68daf136e27338f78666e6d797 (patch) | |
tree | 2c856710ccaac00198c5010bf49fea8d4f791aca /java/src/IceGrid/TreeNode/CommonBase.java | |
parent | Fixed Windows compile error (diff) | |
download | ice-4b778b024a8bec68daf136e27338f78666e6d797.tar.bz2 ice-4b778b024a8bec68daf136e27338f78666e6d797.tar.xz ice-4b778b024a8bec68daf136e27338f78666e6d797.zip |
Refactored toolbars/menubars
Diffstat (limited to 'java/src/IceGrid/TreeNode/CommonBase.java')
-rwxr-xr-x | java/src/IceGrid/TreeNode/CommonBase.java | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/java/src/IceGrid/TreeNode/CommonBase.java b/java/src/IceGrid/TreeNode/CommonBase.java index e38f7a2dd21..b96b0dd2ebe 100755 --- a/java/src/IceGrid/TreeNode/CommonBase.java +++ b/java/src/IceGrid/TreeNode/CommonBase.java @@ -10,12 +10,11 @@ package IceGrid.TreeNode; import javax.swing.tree.TreePath;
import javax.swing.tree.TreeCellRenderer;
-import javax.swing.JPopupMenu;
import javax.swing.JPanel;
-import IceGrid.SimpleInternalFrame;
-
+import IceGrid.Actions;
import IceGrid.Model;
+import IceGrid.SimpleInternalFrame;
//
// CommonBase is similar to javax.swing.tree.TreeNode
@@ -48,7 +47,6 @@ public interface CommonBase extends TreeCellRenderer //
boolean destroy();
-
//
// Get this node's parent;
// null when the node is not attached to the root
@@ -63,9 +61,9 @@ public interface CommonBase extends TreeCellRenderer TreePath getPath();
//
- // Get pop-up menu
+ // Actions associated with this object
//
- JPopupMenu getPopupMenu();
+ Actions getActions();
void displayProperties();
@@ -103,26 +101,6 @@ public interface CommonBase extends TreeCellRenderer void restoreDescriptor(Object savedDescriptor);
//
- // Copy the underlying data (typically descriptor);
- // this is a _deep_ copy
- // Objects that are not copyable return null
- //
- Object copy();
-
- //
- // Create a new object using this descriptor in this container
- // or the parent's container; does nothing if the descriptor
- // is not of the proper type
- //
- void paste(Object descriptor);
-
- //
- // Change the sorting order (using no-op)
- //
- void moveUp();
- void moveDown();
-
- //
// Set this child's parent
//
void setParent(CommonBase parent);
|