org.objectweb.fractal.explorer.menu
Class FixComponentNameOnComponentAction

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

public class FixComponentNameOnComponentAction
extends FixComponentNameAction

This action allows to rename a component.

Version:
0.1
Author:
Jerome Moroy

Field Summary
 
Fields inherited from class org.objectweb.fractal.explorer.menu.FixComponentNameAction
nameBox_, nameController_, oldName_, tree_
 
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS
 
Constructor Summary
FixComponentNameOnComponentAction()
           
 
Method Summary
 void executeAction()
          Executes an action
protected  NameController getNameController(org.objectweb.util.explorer.api.MenuItemTreeView e)
          Provides the name controller of the given component.
 
Methods inherited from class org.objectweb.fractal.explorer.menu.FixComponentNameAction
actionPerformed, createBox, getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixComponentNameOnComponentAction

public FixComponentNameOnComponentAction()
Method Detail

getNameController

protected NameController getNameController(org.objectweb.util.explorer.api.MenuItemTreeView e)
Provides the name controller of the given component.

Overrides:
getNameController in class FixComponentNameAction
Returns:
the NameController of the component.

executeAction

public void executeAction()
                   throws Exception
Executes an action

Specified by:
executeAction in interface org.objectweb.util.explorer.swing.gui.api.DialogAction
Overrides:
executeAction in class FixComponentNameAction
Throws:
Exception