Clears all the items in the receiver. The text, icon and other attributes of the items are set to their default values. If the tree was created with the
SWT.VIRTUAL
style, these attributes are requested again as needed.
@param all
true
if all child items should be clearedrecursively, and
false
otherwise
@exception SWTException
- ERROR_WIDGET_DISPOSED - if the receiver has been disposed
- ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@see SWT#VIRTUAL
@see SWT#SetData
@since 3.2