Bug 140985 Cancel button in parameter dialog doesn't work
Description: Cancel button in parameter dialog doesn't work Steps to reproduce: 1. New a parameter 2. Preview and click Cancel Expected result: Transfer to layout Actual result: Nothing happened.
UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java
IReportProvider provider = (IReportProvider) editor
				.getAdapter( IReportProvider.class );
		if ( provider == null )
		{
			provider = super.getProvider( );
		}
		return provider;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.part.WorkbenchPart#getAdapter(java.lang.Class)
	 */
	public Object getAdapter( Class adapter )
	{
		if ( adapter.equals( ActionRegistry.class ) )
		{
			return new ActionRegistry( );
		}
		return super.getAdapter( adapter );
	}
	public void initialize( FormEditor editor )
	{
		this.editor = editor;
	}
	public FormEditor getEditor( )
	{
		return editor;
	}
	public IManagedForm getManagedForm( )