public static interface Tree.OnDropCallback
Modifier and Type | Method and Description |
---|---|
boolean |
onDropCallback(Tree tree,
Node[] node,
int columnID,
Node targetNode,
int targetColumnID,
Node.DropType dropType,
int dropMenuItemId)
Represents the callback which gets called when nodes are dropped on any target node.
|
boolean onDropCallback(Tree tree, Node[] node, int columnID, Node targetNode, int targetColumnID, Node.DropType dropType, int dropMenuItemId) throws NXException, RemoteException
tree
- Tree.node
- Nodes dropped on any target node. The number of nodes might not be same as number of selected nodes as some of the selected node might disallow to drop itself on target node.columnID
- Column Id of the column from where nodes are dragged.targetNode
- Target node on which dragged nodes are dropped.targetColumnID
- Column Id of the column where nodes are dropped.dropType
- Indicates whether the nodes are dropped On, Before or After target nodedropMenuItemId
- Menu item Id representing the selected menu item. This menu Id corresponds to the menu item added
to the TreeListMenu
using TreeListMenu.addMenuItem(int, java.lang.String)
.
Refer to callback BlockStyler.Tree.OnDropMenuCallback to make available the menu while node drop.NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.