public static interface Tree.OnMenuCallback
BlockStyler.Tree#createMenu
and
BlockStyler.Tree#setMenu
. Subsequently BlockStyler.Tree.OnMenuSelectionCallback
is invoked after the menu item is selected.
Modifier and Type | Method and Description |
---|---|
void |
onMenuCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when MB3 or right click is attempted on node or tree.
|
void onMenuCallback(Tree tree, Node node, int columnID) throws NXException, RemoteException
BlockStyler.Tree#createMenu
and
BlockStyler.Tree#setMenu
. Subsequently BlockStyler.Tree.OnMenuSelectionCallback
is invoked after the menu item is selected.
tree
- Tree.node
- Node on which MB3 is attempted or menu is invoked. null if MB3 is attempted on area other than node.columnID
- Column Id of the column on which MB3 is attemptedNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.