setReportSettings( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) );
ModuleHandle model = SessionHandleAdapter.getInstance( ).getReportDesignHandle( ); if(ReportPlugin.getDefault( ).getEnableCommentPreference( )){ model.setStringProperty( ModuleHandle.COMMENTS_PROP, ReportPlugin.getDefault( ).getCommentPreference( ) ); } setReportSettings( model );
			public void run( )			{				IWorkbench workbench = PlatformUI.getWorkbench( );				IWorkbenchWindow window = workbench.getActiveWorkbenchWindow( );				IWorkbenchPage page = window.getActivePage( );				try				{					IEditorPart editorPart = IDE.openEditor( page, file, true );					setReportSettings( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) );					editorPart.doSave( null );					BasicNewProjectResourceWizard							.updatePerspective( getConfigElement( ) );				}				catch ( Exception e )				{					ExceptionHandler.handle( e );				}			}