org.objectweb.fractal.explorer.menu
Class AddSubComponentAction

java.lang.Object
  extended by 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

Field Summary
protected  ContentController contentInterface_
          The controller used to add a new component component.
protected  org.objectweb.util.explorer.swing.gui.lib.TreeBox treeBox_
          TheTreeBox used.
 
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS
 
Constructor Summary
AddSubComponentAction()
           
 
Method Summary
 void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView e)
           
 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

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.

Constructor Detail

AddSubComponentAction

public AddSubComponentAction()
Method Detail

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()