uk.ac.ebi.intact.application.editor.util
Class MenuManager

java.lang.Object
  |
  +--uk.ac.ebi.intact.application.editor.util.MenuManager

public class MenuManager
extends java.lang.Object

Management of the list of shortLabel of the IntAct object. This is a Singleton.

Version:
$Id: MenuManager.java,v 1.2 2004/02/13 15:51:03 smudali Exp $
Author:
Samuel Kerrien (Samuel Kerrien)

Method Summary
static MenuManager getInstance()
          Returns only instance of this class.
 java.util.List getMenuList(java.lang.Class targetClass, IntactHelper helper)
          Return a Vector of all shortLabels of the class, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MenuManager getInstance()
Returns only instance of this class.

Returns:
an instance of this class.

getMenuList

public java.util.List getMenuList(java.lang.Class targetClass,
                                  IntactHelper helper)
                           throws IntactException
Return a Vector of all shortLabels of the class, e.g. for menus.

Parameters:
helper - Database access object
Returns:
a List of short labels as Strings.
IntactException


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk