org.objectweb.fractal.explorer.menu
Class CreateInterfaceTypeAction

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

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

This action allows to create a new interface type.

Version:
0.1
Author:
Jerome Moroy

Field Summary
protected  org.objectweb.util.explorer.core.common.api.ContextContainer cc_
          The context container where adding the type.
protected  org.objectweb.util.explorer.swing.gui.lib.BooleanBox isClientBox_
          The boolean boxes.
protected  org.objectweb.util.explorer.swing.gui.lib.BooleanBox isCollectionBox_
          The boolean boxes.
protected  org.objectweb.util.explorer.swing.gui.lib.BooleanBox isOptionalBox_
          The boolean boxes.
protected  org.objectweb.util.explorer.swing.gui.lib.LabelBox nameBox_
          The label boxes.
protected  org.objectweb.util.explorer.swing.gui.lib.LabelBox signatureBox_
          The label boxes.
protected  TypeFactory typeFactory_
          The type factory used to create a type.
 
Fields inherited from interface org.objectweb.util.explorer.api.MenuItem
DISABLED_STATUS, ENABLED_STATUS, NOT_VISIBLE_STATUS
 
Constructor Summary
CreateInterfaceTypeAction()
           
 
Method Summary
 void actionPerformed(org.objectweb.util.explorer.api.MenuItemTreeView e)
           
protected  void createBox(org.objectweb.util.explorer.swing.gui.api.DialogBox dialogBox)
          Creates 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

isClientBox_

protected org.objectweb.util.explorer.swing.gui.lib.BooleanBox isClientBox_
The boolean boxes.


isOptionalBox_

protected org.objectweb.util.explorer.swing.gui.lib.BooleanBox isOptionalBox_
The boolean boxes.


isCollectionBox_

protected org.objectweb.util.explorer.swing.gui.lib.BooleanBox isCollectionBox_
The boolean boxes.


nameBox_

protected org.objectweb.util.explorer.swing.gui.lib.LabelBox nameBox_
The label boxes.


signatureBox_

protected org.objectweb.util.explorer.swing.gui.lib.LabelBox signatureBox_
The label boxes.


cc_

protected org.objectweb.util.explorer.core.common.api.ContextContainer cc_
The context container where adding the type.


typeFactory_

protected TypeFactory typeFactory_
The type factory used to create a type.

Constructor Detail

CreateInterfaceTypeAction

public CreateInterfaceTypeAction()
Method Detail

createBox

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

Parameters:
dialogBox -

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