&& ( (ResourceEntry) selection[0] ).getChildren( ).length == 0 )
&& ( (ResourceEntry) selection[0] ).isFile( ) )
		public IStatus validate( Object[] selection )		{			int nSelected = selection.length;			if ( nSelected == 0 )			{				return ErrorStatusNoSelection;			}			else if ( nSelected > 1 )			{				return ErrorStatus;			}			else if ( selection[0] instanceof ResourceEntry					&& ( (ResourceEntry) selection[0] ).getChildren( ).length == 0 )			{				return OKStatus;			}			else if ( newFileName == null					|| !newFileName.toLowerCase( )							.endsWith( ext.toLowerCase( ) ) )			{				return ErrorStatus;			}			return OKStatus;		}