public static interface Tree.OnMenuSelectionCallback
Modifier and Type | Method and Description |
---|---|
void |
onMenuSelectionCallback(Tree tree,
Node node,
int menuItemID)
Represents the callback which gets called when one of the menu option is selected.
|
void onMenuSelectionCallback(Tree tree, Node node, int menuItemID) throws NXException, RemoteException
tree
- Tree.node
- Node on which MB3 is attempted or menu is invoked. null if MB3 is attempted on area other than node.menuItemID
- Menu item Id representing the selected menu item. This menu Id corresponds to the menu item added to the BlockStyler.TreeListMenu
using BlockStyler.TreeListMenu#addMenuItem
.NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.