org.objectweb.fractal.explorer.rmi
Class ConnectToRegistryAction

java.lang.Object
  extended by org.objectweb.fractal.explorer.rmi.ConnectToRegistryAction
All Implemented Interfaces:
org.objectweb.util.explorer.api.MenuItem, org.objectweb.util.explorer.swing.gui.api.DialogAction

public class ConnectToRegistryAction
extends Object
implements org.objectweb.util.explorer.api.MenuItem, org.objectweb.util.explorer.swing.gui.api.DialogAction

This action allows one to explore a new Fractal RMI registry.

Version:
0.1
Author:
Jerome Moroy

Field Summary
protected  org.objectweb.util.explorer.core.common.api.ContextContainer cc_
          The context container in which the Registry has to be added.
protected  org.objectweb.util.explorer.swing.gui.lib.LabelBox host_
          The label box.
protected  org.objectweb.util.explorer.swing.gui.lib.LabelBox port_
          The label box.
 
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS
 
Constructor Summary
ConnectToRegistryAction()
           
 
Method Summary
 void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemTreeView)
           
protected  void createBox(org.objectweb.util.explorer.swing.gui.api.DialogBox dialogBox)
          Create a box containing all the box to specify all the params.
 void executeAction()
           
 int getStatus(org.objectweb.util.explorer.api.TreeView treeView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host_

protected org.objectweb.util.explorer.swing.gui.lib.LabelBox host_
The label box.


port_

protected org.objectweb.util.explorer.swing.gui.lib.LabelBox port_
The label box.


cc_

protected org.objectweb.util.explorer.core.common.api.ContextContainer cc_
The context container in which the Registry has to be added.

Constructor Detail

ConnectToRegistryAction

public ConnectToRegistryAction()
Method Detail

createBox

protected void createBox(org.objectweb.util.explorer.swing.gui.api.DialogBox dialogBox)
Create a box containing all the box to specify all the params.

Parameters:
dialogBox -

getStatus

public int getStatus(org.objectweb.util.explorer.api.TreeView treeView)
Specified by:
getStatus in interface org.objectweb.util.explorer.api.MenuItem

actionPerformed

public void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemTreeView)
                     throws Exception
Specified by:
actionPerformed in interface org.objectweb.util.explorer.api.MenuItem
Throws:
Exception

executeAction

public void executeAction()
                   throws Exception
Specified by:
executeAction in interface org.objectweb.util.explorer.swing.gui.api.DialogAction
Throws:
Exception