summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveActions.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-12-06 19:14:51 +0000
committerBernard Normier <bernard@zeroc.com>2006-12-06 19:14:51 +0000
commita7de00bbcbe54eefe8a88d3138b7feb16230a880 (patch)
treea80367731dc95c4c78090c43480588ff56485124 /java/src/IceGridGUI/LiveActions.java
parentAdded replicated IceStorm demo (diff)
downloadice-a7de00bbcbe54eefe8a88d3138b7feb16230a880.tar.bz2
ice-a7de00bbcbe54eefe8a88d3138b7feb16230a880.tar.xz
ice-a7de00bbcbe54eefe8a88d3138b7feb16230a880.zip
Add the ability to write message to server
Diffstat (limited to 'java/src/IceGridGUI/LiveActions.java')
-rwxr-xr-xjava/src/IceGridGUI/LiveActions.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/LiveActions.java b/java/src/IceGridGUI/LiveActions.java
index 3eadaa79fed..abc460c8af7 100755
--- a/java/src/IceGridGUI/LiveActions.java
+++ b/java/src/IceGridGUI/LiveActions.java
@@ -120,6 +120,16 @@ public class LiveActions
_array[TreeNode.SIGUSR2] = new SendSignal("SIGUSR2");
_array[TreeNode.SIGTERM] = new SendSignal("SIGTERM");
+ _array[TreeNode.WRITE_MESSAGE] = new AbstractAction("Write message")
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ _target.writeMessage();
+ }
+ };
+ _array[TreeNode.WRITE_MESSAGE].putValue(Action.SHORT_DESCRIPTION,
+ "Write message to stdout or stderr");
+
_array[TreeNode.SHUTDOWN_NODE] = new AbstractAction("Shutdown")
{