se.umu.cs.SequenceDiagramEditor
Class ExtensionMenu

java.lang.Object
  extended bybluej.extensions.MenuGenerator
      extended byse.umu.cs.SequenceDiagramEditor.ExtensionMenu

class ExtensionMenu
extends bluej.extensions.MenuGenerator

This class is called to create the menuitem for the extension.

Author:
Matilda Östling

Nested Class Summary
(package private)  class ExtensionMenu.MenuAction
          This class is used for handling the event of the added menuitem in the menu of the BlueJ-application.
 
Field Summary
private  ExtensionMenu.MenuAction anAction
           
private  EditorExtension simple
           
 
Constructor Summary
ExtensionMenu(EditorExtension s)
          The constructor of the class.
 
Method Summary
 javax.swing.JMenuItem getMenuItem()
          This method is used by the BlueJ-application to get the menuItem to add to the menu.
 
Methods inherited from class bluej.extensions.MenuGenerator
getClassMenuItem, getObjectMenuItem, getToolsMenuItem, notifyPostMenu, notifyPostMenu, notifyPostMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anAction

private ExtensionMenu.MenuAction anAction

simple

private EditorExtension simple
Constructor Detail

ExtensionMenu

public ExtensionMenu(EditorExtension s)
The constructor of the class.

Parameters:
s - An object of the EditorExension
Method Detail

getMenuItem

public javax.swing.JMenuItem getMenuItem()
This method is used by the BlueJ-application to get the menuItem to add to the menu.

Returns:
The JMenuItem