diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
commit | 2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b (patch) | |
tree | b460e22e91a9fbb9cfb71631303963fa94dd2c9c /java/src/IceGridGUI/LiveActions.java | |
parent | ICE-5492 Tcp Loopback Fast Path for C#/C++ on Windows (diff) | |
download | ice-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/LiveActions.java')
-rw-r--r-- | java/src/IceGridGUI/LiveActions.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/java/src/IceGridGUI/LiveActions.java b/java/src/IceGridGUI/LiveActions.java index f70af2baae1..147a5946814 100644 --- a/java/src/IceGridGUI/LiveActions.java +++ b/java/src/IceGridGUI/LiveActions.java @@ -13,7 +13,6 @@ import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; -import IceGrid.*; import IceGridGUI.LiveDeployment.*; // @@ -30,6 +29,7 @@ public class LiveActions putValue(Action.SHORT_DESCRIPTION, "Send " + _name); } + @Override public void actionPerformed(ActionEvent e) { _target.signal(_name); @@ -67,6 +67,7 @@ public class LiveActions { _array[TreeNode.START] = new AbstractAction("Start", Utils.getIcon("/icons/16x16/start.png")) { + @Override public void actionPerformed(ActionEvent e) { _target.start(); @@ -76,6 +77,7 @@ public class LiveActions _array[TreeNode.STOP] = new AbstractAction("Stop", Utils.getIcon("/icons/16x16/stop.png")) { + @Override public void actionPerformed(ActionEvent e) { _target.stop(); @@ -86,6 +88,7 @@ public class LiveActions _array[TreeNode.ENABLE] = new AbstractAction("Enable", Utils.getIcon("/icons/16x16/enable.png")) { + @Override public void actionPerformed(ActionEvent e) { _target.enable(); @@ -95,6 +98,7 @@ public class LiveActions _array[TreeNode.DISABLE] = new AbstractAction("Disable", Utils.getIcon("/icons/16x16/disable.png")) { + @Override public void actionPerformed(ActionEvent e) { _target.disable(); @@ -112,6 +116,7 @@ public class LiveActions _array[TreeNode.WRITE_MESSAGE] = new AbstractAction("Write Message") { + @Override public void actionPerformed(ActionEvent e) { _target.writeMessage(); @@ -122,6 +127,7 @@ public class LiveActions _array[TreeNode.RETRIEVE_STDOUT] = new AbstractAction("Retrieve stdout") { + @Override public void actionPerformed(ActionEvent e) { _target.retrieveOutput(true); @@ -131,6 +137,7 @@ public class LiveActions _array[TreeNode.RETRIEVE_STDERR] = new AbstractAction("Retrieve stderr") { + @Override public void actionPerformed(ActionEvent e) { _target.retrieveOutput(false); @@ -140,6 +147,7 @@ public class LiveActions _array[TreeNode.RETRIEVE_LOG] = new AbstractAction("Retrieve Log") { + @Override public void actionPerformed(ActionEvent e) { _target.retrieveLog(); @@ -149,6 +157,7 @@ public class LiveActions _array[TreeNode.SHUTDOWN_NODE] = new AbstractAction("Shutdown") { + @Override public void actionPerformed(ActionEvent e) { _target.shutdownNode(); @@ -157,6 +166,7 @@ public class LiveActions _array[TreeNode.SHUTDOWN_REGISTRY] = new AbstractAction("Shutdown") { + @Override public void actionPerformed(ActionEvent e) { _target.shutdownRegistry(); @@ -165,6 +175,7 @@ public class LiveActions _array[TreeNode.PATCH_SERVER] = new AbstractAction("Patch Distribution") { + @Override public void actionPerformed(ActionEvent e) { _target.patchServer(); @@ -173,6 +184,7 @@ public class LiveActions _array[TreeNode.ADD_OBJECT] = new AbstractAction("Add Well-known Object") { + @Override public void actionPerformed(ActionEvent e) { _target.addObject(); @@ -181,6 +193,7 @@ public class LiveActions _array[TreeNode.OPEN_DEFINITION] = new AbstractAction("Open Definition") { + @Override public void actionPerformed(ActionEvent e) { _target.openDefinition(); @@ -189,6 +202,7 @@ public class LiveActions _array[TreeNode.ENABLE_METRICS_VIEW] = new AbstractAction("Enable Metrics View") { + @Override public void actionPerformed(ActionEvent e) { _target.enableMetricsView(true); @@ -197,6 +211,7 @@ public class LiveActions _array[TreeNode.DISABLE_METRICS_VIEW] = new AbstractAction("Disable Metrics View") { + @Override public void actionPerformed(ActionEvent e) { _target.enableMetricsView(false); |