diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-10-31 22:16:11 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-10-31 22:16:11 +0000 |
commit | 3becfd7eb6392bd763a034759972e0276ab1ae3f (patch) | |
tree | 334f1ce6ea1bd440df7a960a9b2a34f09ff7b7dd /java/src/IceGrid/TreeNode/Server.java | |
parent | copying and warranty (diff) | |
download | ice-3becfd7eb6392bd763a034759972e0276ab1ae3f.tar.bz2 ice-3becfd7eb6392bd763a034759972e0276ab1ae3f.tar.xz ice-3becfd7eb6392bd763a034759972e0276ab1ae3f.zip |
Updated icons
Diffstat (limited to 'java/src/IceGrid/TreeNode/Server.java')
-rwxr-xr-x | java/src/IceGrid/TreeNode/Server.java | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/java/src/IceGrid/TreeNode/Server.java b/java/src/IceGrid/TreeNode/Server.java index 7410d2b8301..f6bfe511eb1 100755 --- a/java/src/IceGrid/TreeNode/Server.java +++ b/java/src/IceGrid/TreeNode/Server.java @@ -556,10 +556,45 @@ class Server extends EditableParent Utils.getIcon("/icons/16x16/icebox_server_destroying.png");
_icons[ServerState.Destroyed.value() + 1][1][0] =
Utils.getIcon("/icons/16x16/icebox_server_destroyed.png");
+
+ //
+ // Regular servers (disabled)
+ //
+ _icons[0][0][1] = Utils.getIcon("/icons/16x16/server_unknown.png");
+ _icons[ServerState.Inactive.value() + 1][0][1]
+ = Utils.getIcon("/icons/16x16/server_disabled_inactive.png");
+ _icons[ServerState.Activating.value() + 1][0][1] =
+ Utils.getIcon("/icons/16x16/server_disabled_activating.png");
+ _icons[ServerState.Active.value() + 1][0][1] =
+ Utils.getIcon("/icons/16x16/server_disabled_active.png");
+ _icons[ServerState.Deactivating.value() + 1][0][1] =
+ Utils.getIcon("/icons/16x16/server_disabled_deactivating.png");
+ _icons[ServerState.Destroying.value() + 1][0][1] =
+ Utils.getIcon("/icons/16x16/server_disabled_destroying.png");
+ _icons[ServerState.Destroyed.value() + 1][0][1] =
+ Utils.getIcon("/icons/16x16/server_disabled_destroyed.png");
+
+ //
+ // IceBox servers (disabled)
+ //
+ _icons[0][1][1] = Utils.getIcon("/icons/16x16/icebox_server_unknown.png");
+ _icons[ServerState.Inactive.value() + 1][1][1]
+ = Utils.getIcon("/icons/16x16/icebox_server_disabled_inactive.png");
+ _icons[ServerState.Activating.value() + 1][1][1] =
+ Utils.getIcon("/icons/16x16/icebox_server_disabled_activating.png");
+ _icons[ServerState.Active.value() + 1][1][1] =
+ Utils.getIcon("/icons/16x16/icebox_server_disabled_active.png");
+ _icons[ServerState.Deactivating.value() + 1][1][1] =
+ Utils.getIcon("/icons/16x16/icebox_server_disabled_deactivating.png");
+ _icons[ServerState.Destroying.value() + 1][1][1] =
+ Utils.getIcon("/icons/16x16/icebox_server_disabled_destroying.png");
+ _icons[ServerState.Destroyed.value() + 1][1][1] =
+ Utils.getIcon("/icons/16x16/icebox_server_disabled_destroyed.png");
+
}
int icebox = _serverDescriptor instanceof IceBoxDescriptor ? 1 : 0;
- int disabled = 0;
+ int disabled = _enabled ? 0 : 1;
if(expanded)
{
|