summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ReplicaGroup.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/ReplicaGroup.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/ReplicaGroup.java')
-rw-r--r--java/src/IceGridGUI/Application/ReplicaGroup.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/Application/ReplicaGroup.java b/java/src/IceGridGUI/Application/ReplicaGroup.java
index c3eff384b19..e49d98271dc 100644
--- a/java/src/IceGridGUI/Application/ReplicaGroup.java
+++ b/java/src/IceGridGUI/Application/ReplicaGroup.java
@@ -24,6 +24,7 @@ class ReplicaGroup extends TreeNode
return (ReplicaGroupDescriptor)d.clone();
}
+ @Override
public Component getTreeCellRendererComponent(
JTree tree,
Object value,
@@ -45,6 +46,7 @@ class ReplicaGroup extends TreeNode
//
// Actions
//
+ @Override
public boolean[] getAvailableActions()
{
boolean[] actions = new boolean[ACTION_COUNT];
@@ -64,17 +66,20 @@ class ReplicaGroup extends TreeNode
return actions;
}
+ @Override
public void copy()
{
getCoordinator().setClipboard(copyDescriptor(_descriptor));
getCoordinator().getActionsForMenu().get(PASTE).setEnabled(true);
}
+ @Override
public void paste()
{
((TreeNode)_parent).paste();
}
+ @Override
public void destroy()
{
ReplicaGroups replicaGroups = (ReplicaGroups)_parent;
@@ -88,6 +93,7 @@ class ReplicaGroup extends TreeNode
}
}
+ @Override
public Editor getEditor()
{
if(_editor == null)
@@ -98,16 +104,19 @@ class ReplicaGroup extends TreeNode
return _editor;
}
+ @Override
protected Editor createEditor()
{
return new ReplicaGroupEditor();
}
+ @Override
public boolean isEphemeral()
{
return _ephemeral;
}
+ @Override
Object getDescriptor()
{
return _descriptor;
@@ -154,6 +163,7 @@ class ReplicaGroup extends TreeNode
rebuild(descriptor);
}
+ @Override
void write(XMLWriter writer)
throws java.io.IOException
{