diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-05-08 20:55:38 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-05-08 20:55:38 +0000 |
commit | 8ff9dd62a9241109b599896c1f06516009275fe0 (patch) | |
tree | d397a64aa0bb37b2496d7fa7d0b484da9d7fa73e /java/src/IceGridGUI/Application/ServiceInstanceEditor.java | |
parent | Fix (diff) | |
download | ice-8ff9dd62a9241109b599896c1f06516009275fe0.tar.bz2 ice-8ff9dd62a9241109b599896c1f06516009275fe0.tar.xz ice-8ff9dd62a9241109b599896c1f06516009275fe0.zip |
Simplified Application view; fixed PropertySets issues
Diffstat (limited to 'java/src/IceGridGUI/Application/ServiceInstanceEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/ServiceInstanceEditor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/IceGridGUI/Application/ServiceInstanceEditor.java b/java/src/IceGridGUI/Application/ServiceInstanceEditor.java index 75f424345b4..b3fce3a9803 100755 --- a/java/src/IceGridGUI/Application/ServiceInstanceEditor.java +++ b/java/src/IceGridGUI/Application/ServiceInstanceEditor.java @@ -114,7 +114,7 @@ class ServiceInstanceEditor extends CommunicatorChildEditor //
Utils.Resolver getDetailResolver()
{
- Service service = (Service)_target;
+ ServiceInstance service = (ServiceInstance)_target;
if(service.getCoordinator().substitute())
{
return service.getResolver();
@@ -189,7 +189,7 @@ class ServiceInstanceEditor extends CommunicatorChildEditor }
- void show(Service service)
+ void show(ServiceInstance service)
{
detectUpdates(false);
_target = service;
@@ -204,7 +204,7 @@ class ServiceInstanceEditor extends CommunicatorChildEditor ServiceInstanceDescriptor descriptor =
(ServiceInstanceDescriptor)service.getDescriptor();
Coordinator coordinator = service.getCoordinator();
- boolean isEditable = service.isEditable() && !coordinator.substitute();
+ boolean isEditable = !coordinator.substitute();
//
// Need to make control enabled before changing it
@@ -272,7 +272,7 @@ class ServiceInstanceEditor extends CommunicatorChildEditor private void setParameterValuesField()
{
- Service service = (Service)_target;
+ ServiceInstance service = (ServiceInstance)_target;
final Utils.Resolver resolver = service.getCoordinator().substitute() ?
((TreeNode)service.getParent()).getResolver() : null;
|