Interface BindingParameter.BrowseHelper
- Enclosing interface:
- BindingParameter<T>
public static interface BindingParameter.BrowseHelper
Contains the functions needed for a binding parameter's editor to display a popup-tree so that
the user can browse for the possible values for this parameter
-
Method Summary
Modifier and TypeMethodDescriptionConvert a tree path to a string that is applicable for this property.The tree model for the popup treebooleanisValidSelection(TreePath path) Determines whether a given tree path is suitable for selection.voidProvides a chance to set up the jtree to your liking
-
Method Details
-
getTreeModel
TreeModel getTreeModel()The tree model for the popup tree -
convertElementToString
Convert a tree path to a string that is applicable for this property.- Parameters:
path- the tree path to convert.- Returns:
- the string representation.
-
isValidSelection
Determines whether a given tree path is suitable for selection.- Parameters:
path- the tree path to check.- Returns:
- true if it is a valid selection.
-
setupTree
Provides a chance to set up the jtree to your liking
-