summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-08-12 15:50:25 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-08-12 15:50:25 -0230
commit2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b (patch)
treeb460e22e91a9fbb9cfb71631303963fa94dd2c9c /java/src/IceGridGUI/Application/ReplicaGroupEditor.java
parentICE-5492 Tcp Loopback Fast Path for C#/C++ on Windows (diff)
downloadice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.bz2
ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.xz
ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.zip
Added eclipse project settings for java.
Fix lots of warnings in Ice for Java.
Diffstat (limited to 'java/src/IceGridGUI/Application/ReplicaGroupEditor.java')
-rw-r--r--java/src/IceGridGUI/Application/ReplicaGroupEditor.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/IceGridGUI/Application/ReplicaGroupEditor.java b/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
index 7d0e38c4b2a..da7e2e07cc1 100644
--- a/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
+++ b/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
@@ -9,15 +9,9 @@
package IceGridGUI.Application;
-import java.awt.event.ActionEvent;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
-import javax.swing.AbstractAction;
-import javax.swing.Action;
-import javax.swing.DefaultComboBoxModel;
-import javax.swing.JButton;
-import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
@@ -34,6 +28,7 @@ import IceGridGUI.*;
@SuppressWarnings("unchecked")
class ReplicaGroupEditor extends Editor
{
+ @Override
protected boolean applyUpdate(boolean refresh)
{
ReplicaGroup replicaGroup = (ReplicaGroup)_target;
@@ -158,6 +153,7 @@ class ReplicaGroupEditor extends Editor
}
}
+ @Override
Utils.Resolver getDetailResolver()
{
Root root = _target.getRoot();
@@ -181,6 +177,7 @@ class ReplicaGroupEditor extends Editor
//
_loadBalancing.addItemListener(new ItemListener()
{
+ @Override
public void itemStateChanged(ItemEvent e)
{
if(e.getStateChange() == ItemEvent.SELECTED)
@@ -264,6 +261,7 @@ class ReplicaGroupEditor extends Editor
return descriptor.id.equals(_id.getText().trim());
}
+ @Override
protected void appendProperties(DefaultFormBuilder builder)
{
builder.append("Replica Group ID");
@@ -312,12 +310,14 @@ class ReplicaGroupEditor extends Editor
builder.nextLine();
}
+ @Override
protected void buildPropertiesPanel()
{
super.buildPropertiesPanel();
_propertiesPanel.setName("Replica Group Properties");
}
+ @Override
protected boolean validate()
{
//