callbacks.v1_itemCompareCallback = display.itemCompareProc;
public void removeAll () {	checkWidget();	for (int i=0; i<itemCount; i++) {		TableItem item = items [i];		if (item != null && !item.isDisposed ()) item.release (false);	}	/*	* Feature in the Mac. When RemoveDataBrowserItems() is used	* to remove items, item notification callbacks are issued with	* the message kDataBrowserItemRemoved  When many items are	* removed, this is slow.  The fix is to temporarily remove	* the item notification callback.	*/	DataBrowserCallbacks callbacks = new DataBrowserCallbacks ();	OS.GetDataBrowserCallbacks (handle, callbacks);	callbacks.v1_itemNotificationCallback = 0;	OS.SetDataBrowserCallbacks (handle, callbacks);	OS.RemoveDataBrowserItems (handle, OS.kDataBrowserNoItem, 0, null, 0);	callbacks.v1_itemNotificationCallback = display.itemNotificationProc;	OS.SetDataBrowserCallbacks (handle, callbacks);	setTableEmpty ();}