Package com._1c.g5.v8.dt.ui.dialog
Interface ICheckableTreeContentProvider
-
- All Superinterfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public interface ICheckableTreeContentProvider extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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 checkable-
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
-
Methods inherited from interface org.eclipse.jface.viewers.ITreeContentProvider
getChildren, getElements, getParent, hasChildren
-
-
-
-
Method Detail
-
isCheckable
boolean isCheckable(Object element)
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
boolean allowChildMultiSelection(Object parent)
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
-
-