if ( editor.getEditorInput( ).getName( ).endsWith( ".rpttemplate" ) || editor.getEditorInput( ) .getName( ) .endsWith( ".rptdesign" ) )
if ( editor.getEditorInput( ).getName( ).endsWith( ".rpttemplate" ) || ReportPlugin.getDefault( ) .isReportDesignFile( editor.getEditorInput( ) .getName( ) ) )
	private boolean isEnable( )	{		IEditorPart editor = UIUtil.getActiveEditor( true );		if ( editor != null )		{			if ( editor.getEditorInput( ).getName( ).endsWith( ".rpttemplate" )					|| editor.getEditorInput( )							.getName( )							.endsWith( ".rptdesign" ) )			{				return true;			}		}		return false;	}