From b51469b41167fb86ae2059a15cf0475c53fdda7b Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Mon, 20 Oct 2014 11:40:05 -0230 Subject: Down with ant. From the gradle to the grave. --- .../IceGridGUI/Application/PlainServerEditor.java | 86 ---------------------- 1 file changed, 86 deletions(-) delete mode 100644 java/src/IceGridGUI/Application/PlainServerEditor.java (limited to 'java/src/IceGridGUI/Application/PlainServerEditor.java') diff --git a/java/src/IceGridGUI/Application/PlainServerEditor.java b/java/src/IceGridGUI/Application/PlainServerEditor.java deleted file mode 100644 index 74070353be0..00000000000 --- a/java/src/IceGridGUI/Application/PlainServerEditor.java +++ /dev/null @@ -1,86 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package IceGridGUI.Application; - -import com.jgoodies.forms.builder.DefaultFormBuilder; - -import IceGridGUI.*; - -class PlainServerEditor extends AbstractServerEditor -{ - @Override - protected void writeDescriptor() - { - _subEditor.writeDescriptor(); - } - - @Override - protected boolean isSimpleUpdate() - { - return _subEditor.isSimpleUpdate(); - } - - PlainServerEditor() - { - _subEditor = new ServerSubEditor(this); - } - - // - // From Editor: - // - @Override - Utils.Resolver getDetailResolver() - { - if(_target.getCoordinator().substitute()) - { - return _target.getResolver(); - } - else - { - return null; - } - } - - @Override - protected void appendProperties(DefaultFormBuilder builder) - { - _subEditor.appendProperties(builder); - } - - @Override - Object getSubDescriptor() - { - return _target.getDescriptor(); - } - - @Override - protected boolean validate() - { - return _subEditor.validate(); - } - - void show(PlainServer server) - { - detectUpdates(false); - _target = server; - - _subEditor.show(true); - - _applyButton.setEnabled(server.isEphemeral()); - _discardButton.setEnabled(server.isEphemeral()); - detectUpdates(true); - if(server.isEphemeral()) - { - updated(); - } - } - - private ServerSubEditor _subEditor; -} -- cgit v1.2.3