if ( parentElement instanceof File )
if ( parentElement instanceof Object[] )
	public Object[] getChildren( Object parentElement )	{		if ( parentElement instanceof File )		{			File file = (File) parentElement;			if ( !file.exists( ) )			{				return new Object[]{					Messages.getString( "LibraryExplorerProvider.FolderNotExist" ) //$NON-NLS-1$				};			}			File[] childrenFiles = file.listFiles( filter );			if ( childrenFiles != null )			{				List folers = new ArrayList( );				List files = new ArrayList( );				for ( int i = 0; i < childrenFiles.length; i++ )				{					File child = childrenFiles[i];					if ( child.isDirectory( ) )					{						folers.add( child );					}					else if ( showFiles )					{						files.add( child );					}				}				folers.addAll( files );				return folers.toArray( );			}		}		return new Object[0];	}