public static interface Tree.OnDropMenuCallback
Tree.createMenu()
and
Tree.setMenu(nxopen.blockstyler.TreeListMenu)
. Subsequently, menu is shown and selected menu option is passed as paremeter in
the callback BlockStyler.Tree.OnDropCallback
Modifier and Type | Method and Description |
---|---|
void |
onDropMenuCallback(Tree tree,
Node node,
int columnID,
Node targetNode,
int targetColumnID)
Represents the callback to show the menu when nodes are dragged using MB3 or right mouse click, and dropped on any target node.
|
void onDropMenuCallback(Tree tree, Node node, int columnID, Node targetNode, int targetColumnID) throws NXException, RemoteException
Tree.createMenu()
and
Tree.setMenu(nxopen.blockstyler.TreeListMenu)
. Subsequently, menu is shown and selected menu option is passed as paremeter in
the callback BlockStyler.Tree.OnDropCallback
tree
- Tree.node
- Node on which drag initiated.columnID
- Column Id of the column from where drag initiatedtargetNode
- Target node on which dragged node is dropped.targetColumnID
- Column Id of the column where nodes are dropped.NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.