ptolemy.vergil.debugger
Class BreakpointDialogFactory

java.lang.Object
  extended byptolemy.vergil.debugger.BreakpointDialogFactory
All Implemented Interfaces:
MenuItemFactory

public class BreakpointDialogFactory
extends java.lang.Object
implements MenuItemFactory

A factory that creates a dialog box to configure breakpoints for the actor selected.

Since:
Ptolemy II 2.1
Version:
$Id: BreakpointDialogFactory.java,v 1.14 2004/04/13 05:12:50 cxh Exp $
Author:
Elaine Cheong
See Also:
PortDialogFactory
Accepted Rating:
Red (celaine)
Proposed Rating:
Red (celaine)

Constructor Summary
BreakpointDialogFactory(BasicGraphController graphController)
          Create factory.
 
Method Summary
 javax.swing.JMenuItem create(JContextMenu menu, NamedObj object)
          Add an item to the given context menu that will open a dialog to configure breakpoints for an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakpointDialogFactory

public BreakpointDialogFactory(BasicGraphController graphController)
Create factory.

Parameters:
graphController - The associated graph controller for the actor selected.
Method Detail

create

public javax.swing.JMenuItem create(JContextMenu menu,
                                    NamedObj object)
Add an item to the given context menu that will open a dialog to configure breakpoints for an object.

Specified by:
create in interface MenuItemFactory
Parameters:
menu - The context menu.
object - The object whose breakpoints are being modified.
Returns:
A menu item, or null to decline to provide a menu item.