Bug 191802 View report menu and icon fail with RPTDESIGN extension name.[00]
Description: View report menu and icon fail with RPTDESIGN extension name. Build number:2.2.0.v20070608 Steps to reproduce: 1. New a report test.rptdesign, change its extension name to uppcase as test.RPTDESIGN. 2. oPEN THE REPORT. Expected result: Viewer report in main menu and toolbar can be used. Actual result: Viewer report in main menu and toolbar are disabled. Error log:N/A
UI/org.eclipse.birt.report.designer.ui.preview.web/src/org/eclipse/birt/report/designer/ui/actions/PreviewCascadingMenuGroup.java
import org.eclipse.swt.widgets.MenuItem;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowPulldownDelegate2;
import org.eclipse.ui.forms.editor.FormEditor;
public class PreviewCascadingMenuGroup implements
		IWorkbenchWindowPulldownDelegate2
{
	private Image previewIcon = Activator.getImageDescriptor( "icons/etool16/preview.gif" )
			.createImage( );
	private Image previewPDFIcon = Activator.getImageDescriptor( "icons/etool16/preview_pdf.gif" )
			.createImage( );
	/**
	 * The menu created by this action.
	 */
	private Menu fMenu;
	/**
	 * The constructor.
	 */
	public PreviewCascadingMenuGroup( )
	{
		super( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.ui.actions.PreviewAction#dispose()
	 */
	public void dispose( )
	{