diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-09-20 23:46:57 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-09-20 23:46:57 +0000 |
commit | 9ab49898e47f7dbccff8b95d84bfdd2a6fa73db6 (patch) | |
tree | 745f5986b4e6b5a1a7436678971fc21f34afc417 /java/src/IceGrid/TreeNode/CommonBaseI.java | |
parent | Bug 467. (diff) | |
download | ice-9ab49898e47f7dbccff8b95d84bfdd2a6fa73db6.tar.bz2 ice-9ab49898e47f7dbccff8b95d84bfdd2a6fa73db6.tar.xz ice-9ab49898e47f7dbccff8b95d84bfdd2a6fa73db6.zip |
It's now possible to edit/add/remove services (but not service instances or
templates)
Diffstat (limited to 'java/src/IceGrid/TreeNode/CommonBaseI.java')
-rwxr-xr-x | java/src/IceGrid/TreeNode/CommonBaseI.java | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/java/src/IceGrid/TreeNode/CommonBaseI.java b/java/src/IceGrid/TreeNode/CommonBaseI.java index 066c4b15e81..d5259b72f4c 100755 --- a/java/src/IceGrid/TreeNode/CommonBaseI.java +++ b/java/src/IceGrid/TreeNode/CommonBaseI.java @@ -140,6 +140,22 @@ abstract class CommonBaseI implements CommonBase return null;
}
+ public Object getDescriptor()
+ {
+ return null;
+ }
+
+ public Object saveDescriptor()
+ {
+ assert false;
+ return null;
+ }
+
+ public void restoreDescriptor(Object d)
+ {
+ assert false;
+ }
+
public Object copy()
{
return null;
@@ -147,6 +163,9 @@ abstract class CommonBaseI implements CommonBase public void paste(Object descriptor)
{
+ //
+ // Try my parent
+ //
if(_parent != null)
{
_parent.paste(descriptor);
@@ -240,7 +259,7 @@ abstract class CommonBaseI implements CommonBase _model = o._model;
}
- Application getApplication()
+ public Application getApplication()
{
if(_path == null || _path.getPathCount() < 2)
{
|