ReportDesignHandle report = (ReportDesignHandle)object; if(report.getModuleHandle( ).getFileName( ).endsWith( TEMPLATE_SUFFIX ) || report.getModuleHandle( ).getFileName( ).endsWith( ".rptdesign" ))
ReportDesignHandle report = (ReportDesignHandle) object; if ( report.getModuleHandle( ) .getFileName( ) .endsWith( TEMPLATE_SUFFIX ) || ReportPlugin.getDefault( ) .isReportDesignFile( report.getModuleHandle( ) .getFileName( ) ) )
	public boolean isEnabled() {		Object object = getSelection();				if ( (object == null)||!(object instanceof ReportDesignHandle) )		{			return false;		}		ReportDesignHandle report = (ReportDesignHandle)object;		if(report.getModuleHandle( ).getFileName( ).endsWith( TEMPLATE_SUFFIX )		|| report.getModuleHandle( ).getFileName( ).endsWith( ".rptdesign" ))		{			return true;		}		return false;	}