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