MenuItem
- the GUI toolkit specific type for menu itemsF
- the sorting strategy specific menu item supplier factory typepublic class MenuDescriptor<MenuItem,F extends MenuItemSupplierFactory<MenuItem>> extends AbstractMenuEntryDescriptor<MenuItem,F>
Constructor and Description |
---|
MenuDescriptor(String id,
String displayName,
String path,
F menuItemSupplierFactory,
MenuItemSortingStrategy<MenuItem,?> sortingStrategy) |
Modifier and Type | Method and Description |
---|---|
static MenuDescriptor |
createMenuDescriptor(MenuType menuType,
org.osgi.framework.Bundle bundle) |
String |
getDisplayName() |
String |
getId() |
MenuItemSortingStrategy<MenuItem,?> |
getSortingStrategy() |
getMenuItemSupplierFactory, getPath
public String getDisplayName()
public String getId()
public MenuItemSortingStrategy<MenuItem,?> getSortingStrategy()
public static MenuDescriptor createMenuDescriptor(MenuType menuType, org.osgi.framework.Bundle bundle)
Copyright © 2012–2017 Drombler. All rights reserved.