org.objectweb.fractal.explorer.rmi
Class BindComponentAction

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

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

Version:
0.1
Author:
Jerome Moroy

Field Summary
protected  org.objectweb.util.explorer.swing.gui.lib.LabelBox name_
          The label box.
protected  org.objectweb.fractal.rmi.registry.NamingService namingService_
          The Registry in which a component has to be bound.
protected  org.objectweb.util.explorer.swing.gui.lib.TreeBox tree_
          The tree box.
 
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS
 
Constructor Summary
BindComponentAction()
           
 
Method Summary
 void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemTreeView)
           
protected  void createBox(org.objectweb.util.explorer.swing.gui.api.DialogBox dialogBox, org.objectweb.util.explorer.api.Tree tree)
          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

name_

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


tree_

protected org.objectweb.util.explorer.swing.gui.lib.TreeBox tree_
The tree box.


namingService_

protected org.objectweb.fractal.rmi.registry.NamingService namingService_
The Registry in which a component has to be bound.

Constructor Detail

BindComponentAction

public BindComponentAction()
Method Detail

createBox

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

Parameters:
dialogBox -
tree -

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