Class MenuDescriptor
java.lang.Object
com.motivewave.platform.sdk.common.menu.MenuDescriptor
Encapsulates information and actions for displaying a context menu to the user.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the list of menu items to add to the context menuboolean
Indicates if the default menu items should be included when the context menu is displayed.
-
Constructor Details
-
MenuDescriptor
-
-
Method Details
-
isIncludeDefaultItems
public boolean isIncludeDefaultItems()Indicates if the default menu items should be included when the context menu is displayed.- Returns:
- true if the default menu items (copy/delete etc) should be included in the context menu
-
getMenuItems
Gets the list of menu items to add to the context menu- Returns:
- list of menu items to add to the context menu
-