diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-12-06 19:14:51 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-12-06 19:14:51 +0000 |
commit | a7de00bbcbe54eefe8a88d3138b7feb16230a880 (patch) | |
tree | a80367731dc95c4c78090c43480588ff56485124 /java/src/IceGridGUI/LiveActions.java | |
parent | Added replicated IceStorm demo (diff) | |
download | ice-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-x | java/src/IceGridGUI/LiveActions.java | 10 |
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") { |