Package com._1c.g5.v8.dt.ui.dialog
Interface ICheckableTreeContentProvider
- All Superinterfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
This interface extends basic ITreeContentProvider with additional method
that is used to determine whether element from tree can be checked or not.
Depending on business needs, some items in tree can not be checked.
All clients, that use TreeItemSelectionDialog should implement this method
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowChildMultiSelection
(Object parent) Determines whether it is possible to select multiple child objects in current parent objectboolean
isCheckable
(Object element) This method is used to determine whether input element can be checkableMethods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
Methods inherited from interface org.eclipse.jface.viewers.ITreeContentProvider
getChildren, getElements, getParent, hasChildren
-
Method Details
-
isCheckable
This method is used to determine whether input element can be checkable- Parameters:
element
- to check- Returns:
- true if element can be checkable, false otherwise
-
allowChildMultiSelection
Determines whether it is possible to select multiple child objects in current parent object- Parameters:
parent
- - parent object- Returns:
- - true, if possible, false if not
-