summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveDeployment/RegistryEditor.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-01-26 15:54:18 +0000
committerBernard Normier <bernard@zeroc.com>2007-01-26 15:54:18 +0000
commit88df9686c689c8811f7ea7fe47e0a458f82e7f7e (patch)
tree22b316d43ccb45cc996baf92b0d0d0ea437daba9 /java/src/IceGridGUI/LiveDeployment/RegistryEditor.java
parentImproved well-known object dialog (diff)
downloadice-88df9686c689c8811f7ea7fe47e0a458f82e7f7e.tar.bz2
ice-88df9686c689c8811f7ea7fe47e0a458f82e7f7e.tar.xz
ice-88df9686c689c8811f7ea7fe47e0a458f82e7f7e.zip
Added double-click on tables
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/RegistryEditor.java')
-rwxr-xr-xjava/src/IceGridGUI/LiveDeployment/RegistryEditor.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/RegistryEditor.java b/java/src/IceGridGUI/LiveDeployment/RegistryEditor.java
index f6d9bae43df..edb5879d368 100755
--- a/java/src/IceGridGUI/LiveDeployment/RegistryEditor.java
+++ b/java/src/IceGridGUI/LiveDeployment/RegistryEditor.java
@@ -122,6 +122,19 @@ class RegistryEditor extends Editor
_applications.addMouseListener(new MouseAdapter()
{
+ public void mouseClicked(MouseEvent e)
+ {
+ if(e.getClickCount() == 2)
+ {
+ int selectedRow = _applications.getSelectedRow();
+ if(selectedRow != -1)
+ {
+ String appName = (String)_applications.getValueAt(selectedRow, 0);
+ _target.showApplicationDetails(appName);
+ }
+ }
+ }
+
public void mousePressed(MouseEvent e)
{
maybeShowPopup(e);
@@ -209,6 +222,20 @@ class RegistryEditor extends Editor
_objects.addMouseListener(new MouseAdapter()
{
+ public void mouseClicked(MouseEvent e)
+ {
+ if(e.getClickCount() == 2)
+ {
+ int selectedRow = _objects.getSelectedRow();
+ if(selectedRow != -1)
+ {
+ String proxy = (String)_objects.getValueAt(selectedRow, 0);
+ String type = (String)_objects.getValueAt(selectedRow, 1);
+ _target.showObject(proxy, type);
+ }
+ }
+ }
+
public void mousePressed(MouseEvent e)
{
maybeShowPopup(e);