jrworkspace by
jTEM

de.jtem.jrworkspace.plugin.flavor
Interface MenuFlavor

All Known Implementing Classes:
MenuAggregator

public interface MenuFlavor

This flavor adds a menu bar to a perspective

Author:
Stefan Sechelmann

Method Summary
 List<JMenu> getMenus()
          Returns the menus for this menu flavor
 Class<? extends PerspectiveFlavor> getPerspective()
          Returns the Perspective flavor which is associated with this menu
 double getPriority()
          Returns the priority of this set of menus.
 

Method Detail

getMenus

List<JMenu> getMenus()
Returns the menus for this menu flavor

Returns:
the menu list

getPerspective

Class<? extends PerspectiveFlavor> getPerspective()
Returns the Perspective flavor which is associated with this menu

Returns:
the perspective

getPriority

double getPriority()
Returns the priority of this set of menus. The actual order of menus in a menu bar of a perspective is determined trough to this number

Returns:
a priority

jrworkspace by
jTEM

jTEM