if ( !( resourceGroup.getResource( ).endsWith( ".rptdesign" ) || resourceGroup.getResource( )
if ( !( ReportPlugin.getDefault( ) .isReportDesignFile( resourceGroup.getResource( ) ) || resourceGroup.getResource( )
	public boolean validatePage( )	{		setErrorMessage( null );		if ( !resourceGroup.areAllValuesValid( ) )		{			if ( !resourceGroup.getResource( ).equals( "" ) ) // if blank name				// //$NON-NLS-1$				// then fail				// silently//$NON-NLS-1$				setErrorMessage( resourceGroup.getProblemMessage( ) );			return false;		}		if ( resourceGroup.getResource( ) != null				&& model instanceof LibraryHandle )		{			if ( !resourceGroup.getResource( ).endsWith( ".rptlibrary" ) )			{				setErrorMessage( Messages.getString( "WizardReportSettingPage.Error.Library" ) );				return false;			}		}		if ( resourceGroup.getResource( ) != null				&& model instanceof ReportDesignHandle )		{			if ( !( resourceGroup.getResource( ).endsWith( ".rptdesign" ) || resourceGroup.getResource( )					.endsWith( ".rpttemplate" ) ) )			{				setErrorMessage( Messages.getString( "WizardReportSettingPage.Error.ReportorTemplate" ) );				return false;			}		}		return true;	}