diff options
Diffstat (limited to 'java/src/IceGridGUI/Application/PlainServiceEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/PlainServiceEditor.java | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/java/src/IceGridGUI/Application/PlainServiceEditor.java b/java/src/IceGridGUI/Application/PlainServiceEditor.java index c1de8d137e2..f2487413ba8 100755 --- a/java/src/IceGridGUI/Application/PlainServiceEditor.java +++ b/java/src/IceGridGUI/Application/PlainServiceEditor.java @@ -17,7 +17,7 @@ class PlainServiceEditor extends CommunicatorChildEditor { PlainServiceEditor() { - _subEditor = new ServiceSubEditor(this); + _subEditor = new ServiceSubEditor(this); } // @@ -25,65 +25,65 @@ class PlainServiceEditor extends CommunicatorChildEditor // Utils.Resolver getDetailResolver() { - PlainService service = (PlainService)_target; - if(service.getCoordinator().substitute()) - { - return service.getResolver(); - } - else - { - return null; - } + PlainService service = (PlainService)_target; + if(service.getCoordinator().substitute()) + { + return service.getResolver(); + } + else + { + return null; + } } protected void appendProperties(DefaultFormBuilder builder) { - _subEditor.appendProperties(builder); + _subEditor.appendProperties(builder); } protected void buildPropertiesPanel() { - super.buildPropertiesPanel(); - _propertiesPanel.setName("Service Properties"); + super.buildPropertiesPanel(); + _propertiesPanel.setName("Service Properties"); } protected boolean validate() { - return _subEditor.validate(); + return _subEditor.validate(); } void writeDescriptor() { - _subEditor.writeDescriptor(); - } + _subEditor.writeDescriptor(); + } boolean isSimpleUpdate() { - return _subEditor.isSimpleUpdate(); + return _subEditor.isSimpleUpdate(); } Communicator.ChildList getChildList() { - return ((Communicator)_target.getParent()).getServices(); + return ((Communicator)_target.getParent()).getServices(); } Object getSubDescriptor() { - ServiceInstanceDescriptor sid = (ServiceInstanceDescriptor)_target.getDescriptor(); - return sid.descriptor; + ServiceInstanceDescriptor sid = (ServiceInstanceDescriptor)_target.getDescriptor(); + return sid.descriptor; } void show(PlainService service) { - detectUpdates(false); - _target = service; + detectUpdates(false); + _target = service; - _subEditor.show(true); + _subEditor.show(true); - _applyButton.setEnabled(service.isEphemeral()); - _discardButton.setEnabled(service.isEphemeral()); - detectUpdates(true); + _applyButton.setEnabled(service.isEphemeral()); + _discardButton.setEnabled(service.isEphemeral()); + detectUpdates(true); } private ServiceSubEditor _subEditor; |