public static interface Tree.OnEditOptionSelectedCallback
Tree.EditControlOption.ACCEPT
then the edited option/text is accepted else it is rejected and old option/text remains.Modifier and Type | Method and Description |
---|---|
Tree.EditControlOption |
onEditOptionSelectedCallback(Tree tree,
Node node,
int columnID,
int selectedOptionID,
String selectedOptionText,
Tree.ControlType type)
Represents the callback which gets called when user selects an option in edit-control set by
BlockStyler.Tree.AskEditControlCallback.
|
Tree.EditControlOption onEditOptionSelectedCallback(Tree tree, Node node, int columnID, int selectedOptionID, String selectedOptionText, Tree.ControlType type) throws NXException, RemoteException
Tree.EditControlOption.ACCEPT
then the edited option/text is accepted else it is rejected and old option/text remains.
tree
- Tree.node
- Node being edited.columnID
- Column Id of the column on which edit is performed.selectedOptionID
- Index of the selected option. -1 value suggests that edited text is not among the available options in edit-control;
particularly useful when edit-control type is Tree.ControlType.LIST_BOX
.selectedOptionText
- The text being edited.type
- Edit-control typeNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.