org.acm.seguin.uml
Class UMLPopupMenu

java.lang.Object
  extended by org.acm.seguin.uml.UMLPopupMenu

public class UMLPopupMenu
extends java.lang.Object

UMLPopupMenu

Author:
Chris Seguin

Constructor Summary
UMLPopupMenu(UMLPackage top, javax.swing.JPanel init)
          Constructor for the UMLPopupMenu object
 
Method Summary
protected  void addRefactorings(javax.swing.JPopupMenu menu)
          Refactorings
protected  javax.swing.JPopupMenu createPopupMenu()
          Create the popup menu
 javax.swing.JPopupMenu getMenu()
          Get the popup menu
protected  javax.swing.JMenuItem getMetricsMenu(javax.swing.JPopupMenu menu)
          Add in the metrics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLPopupMenu

public UMLPopupMenu(UMLPackage top,
                    javax.swing.JPanel init)
Constructor for the UMLPopupMenu object

Parameters:
top - the package diagram
init - the specific panel
Method Detail

getMenu

public javax.swing.JPopupMenu getMenu()
Get the popup menu

Returns:
the popup menu

getMetricsMenu

protected javax.swing.JMenuItem getMetricsMenu(javax.swing.JPopupMenu menu)
Add in the metrics

Parameters:
menu - Description of Parameter
Returns:
the metrics

createPopupMenu

protected javax.swing.JPopupMenu createPopupMenu()
Create the popup menu

Returns:
Description of the Returned Value

addRefactorings

protected void addRefactorings(javax.swing.JPopupMenu menu)
Refactorings

Parameters:
menu - The feature to be added to the Refactorings attribute