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