org.objectweb.fractal.explorer.menu
Class CreateComponentTypeAction

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

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

This action allows to create a new component type.

Version:
0.1
Author:
Jerome Moroy

Field Summary
protected  org.objectweb.util.explorer.core.common.api.ContextContainer cc_
          The context container to use.
protected  org.objectweb.util.explorer.swing.gui.lib.ExtendedTreeChooserBox extendedTreeChooserBox_
          The tree chooser box.
protected  org.objectweb.util.explorer.swing.gui.lib.LabelBox name_
          The label box.
 
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS
 
Constructor Summary
CreateComponentTypeAction()
           
 
Method Summary
 void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView e)
           
protected  void createBox(org.objectweb.util.explorer.swing.gui.api.DialogBox dialogBox, Component treeComponent)
          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.


extendedTreeChooserBox_

protected org.objectweb.util.explorer.swing.gui.lib.ExtendedTreeChooserBox extendedTreeChooserBox_
The tree chooser box.


cc_

protected org.objectweb.util.explorer.core.common.api.ContextContainer cc_
The context container to use.

Constructor Detail

CreateComponentTypeAction

public CreateComponentTypeAction()
Method Detail

createBox

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

Parameters:
dialogBox -
treeComponent -

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

getStatus

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

executeAction

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