ptolemy.vergil.gt
Class TransformationEditor.MatchingAttributeActionsFactory
java.lang.Object
ptolemy.vergil.gt.TransformationEditor.MatchingAttributeActionsFactory
- All Implemented Interfaces:
- MenuItemFactory
- Enclosing class:
- TransformationEditor
protected class TransformationEditor.MatchingAttributeActionsFactory
- extends java.lang.Object
- implements MenuItemFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformationEditor.MatchingAttributeActionsFactory
protected TransformationEditor.MatchingAttributeActionsFactory()
create
public javax.swing.JMenuItem create(JContextMenu menu,
NamedObj object)
- Add an item to the given context menu that will configure the
parameters on the given target.
- Specified by:
create
in interface MenuItemFactory
- Parameters:
menu
- The context menu to add to.object
- The object that the menu item command will operate on.
- Returns:
- A menu item, or null to decline to provide a menu item.
_add
private javax.swing.JMenuItem _add(javax.swing.JMenu menu,
javax.swing.Action action,
boolean isRadio)
_getRadioAttribute
private MatchingAttribute _getRadioAttribute(NamedObj object,
TransformationEditor.MatchingAttributeAction[] radioActions)