ptolemy.vergil.debugger
Class BreakpointDialogFactory

java.lang.Object
  extended by ptolemy.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 57040 2010-01-27 20:52:32Z cxh $
Author:
Elaine Cheong
See Also:
PortDialogFactory
Accepted Rating:
Red (celaine)
Proposed Rating:
Red (celaine)

Field Summary
private  BasicGraphController _graphController
          The graph controller associated with the actor selected.
 
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
 

Field Detail

_graphController

private BasicGraphController _graphController
The graph controller associated with the actor selected.

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:
The context menu item.