Package ptolemy.vergil.kernel
Class RenameDialogFactory
- java.lang.Object
-
- ptolemy.vergil.kernel.RenameDialogFactory
-
- All Implemented Interfaces:
MenuItemFactory
@Deprecated public class RenameDialogFactory extends java.lang.Object implements MenuItemFactory
Deprecated.Use RenameDialogAction instead.A factory that creates a dialog to rename an object.- Since:
- Ptolemy II 2.0
- Version:
- $Id$
- Author:
- Edward A. Lee and Steve Neuendorffer
- Pt.AcceptedRating:
- Red (johnr)
- Pt.ProposedRating:
- Red (eal)
-
-
Constructor Summary
Constructors Constructor Description RenameDialogFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.swing.JMenuItemcreate(JContextMenu menu, NamedObj object)Deprecated.Add an item to the given context menu that will open a dialog to add or remove ports from an object.
-
-
-
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 ports from an object.- Specified by:
createin interfaceMenuItemFactory- Parameters:
menu- The context menu.object- The object whose ports are being manipulated.- Returns:
- The JMenuItem or null if the object argument is not an Entity.
-
-