jni.gui
Class ArgumentDialogFactory

java.lang.Object
  extended by jni.gui.ArgumentDialogFactory
All Implemented Interfaces:
MenuItemFactory

Deprecated. This code is old, hard to use and unmaintained. See EmbeddedCActor for a more recent implementation.

public class ArgumentDialogFactory
extends java.lang.Object
implements MenuItemFactory

A factory that creates a dialog to configure, add, or remove Arguments from objects.

Since:
Ptolemy II 2.3
Version:
$Id: ArgumentDialogFactory.java 53042 2009-04-10 20:31:21Z cxh $
Author:
Edward A. Lee and Steve Neuendorffer, modified by Vincent Arnould
Accepted Rating:
Red (vincent.arnould)
Proposed Rating:
Red (vincent.arnould)

Field Summary
private  Configuration _configuration
          Deprecated. The configuration.
 
Constructor Summary
ArgumentDialogFactory()
          Deprecated. Construct an ArgumentDialogFactory.
 
Method Summary
 javax.swing.JMenuItem create(JContextMenu menu, NamedObj object)
          Deprecated. Add an item to the given context menu that will open a dialog to add or remove arguments from an object.
 void setConfiguration(Configuration configuration)
          Deprecated. Set the configuration for use by the help screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_configuration

private Configuration _configuration
Deprecated. 
The configuration.

Constructor Detail

ArgumentDialogFactory

public ArgumentDialogFactory()
Deprecated. 
Construct an ArgumentDialogFactory.

Method Detail

create

public javax.swing.JMenuItem create(JContextMenu menu,
                                    NamedObj object)
Deprecated. 
Add an item to the given context menu that will open a dialog to add or remove arguments from an object.

Specified by:
create in interface MenuItemFactory
Parameters:
menu - The context menu.
object - The object whose ports are being manipulated.
Returns:
The JMenuItem that was created or null if the object is not a GenericJNIActor.

setConfiguration

public void setConfiguration(Configuration configuration)
Deprecated. 
Set the configuration for use by the help screen.

Parameters:
configuration - The configuration.