code: public Object[] getChildren(Object element)
  	{
  		if (element instanceof IResource || element instanceof INode)
  		{
  			IWorkbenchAdapter adapter = getAdapter(element);
  			if (adapter != null)
  			{
  				return adapter.getChildren(element);
  			}
  			return NO_CHILDREN;
  		}
  		return NO_CHILDREN;
  	}
docs: /*
  (non-Javadoc)
  @see org.eclipse.ui.model.BaseWorkbenchContentProvider#getChildren(java.lang.Object)