org.objectweb.fractal.explorer.menu
Class AddSubComponentAction
java.lang.Object
org.objectweb.fractal.explorer.menu.AddSubComponentAction
- All Implemented Interfaces:
- org.objectweb.util.explorer.api.MenuItem, org.objectweb.util.explorer.swing.gui.api.DialogAction
public class AddSubComponentAction
- extends Object
- implements org.objectweb.util.explorer.api.MenuItem, org.objectweb.util.explorer.swing.gui.api.DialogAction
This action allows to add a component into a composite component.
- Version:
- 0.1
- Author:
- Jerome Moroy
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem |
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
treeBox_
protected org.objectweb.util.explorer.swing.gui.lib.TreeBox treeBox_
- TheTreeBox used.
contentInterface_
protected ContentController contentInterface_
- The controller used to add a new component component.
AddSubComponentAction
public AddSubComponentAction()
getStatus
public int getStatus(org.objectweb.util.explorer.api.TreeView treeView)
- Specified by:
getStatus
in interface org.objectweb.util.explorer.api.MenuItem
- See Also:
MenuItem.getStatus(org.objectweb.util.explorer.api.TreeView)
actionPerformed
public void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView e)
throws Exception
- Specified by:
actionPerformed
in interface org.objectweb.util.explorer.api.MenuItem
- Throws:
Exception
- See Also:
MenuItem.actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView)
executeAction
public void executeAction()
throws Exception
- Specified by:
executeAction
in interface org.objectweb.util.explorer.swing.gui.api.DialogAction
- Throws:
Exception
- See Also:
DialogAction.executeAction()