dialog.setInput( ReportPlugin.getDefault( ) .getResourcePreference( ) );
			public void widgetSelected( SelectionEvent e )			{				ResourceFileLabelProvider labelProvider = new ResourceFileLabelProvider( );				ResourceFileContentProvider contentProvider = new ResourceFileContentProvider( false );				ResourceFileFolderSelectionDialog dialog = new ResourceFileFolderSelectionDialog( UIUtil.getDefaultShell( ),						labelProvider,						contentProvider );				dialog.setAllowMultiple( false );				dialog.setTitle( Messages.getString( "WizardLibrarySettingPage.Resourcefile.Dialog.Title" ) ); //$NON-NLS-1$				dialog.setMessage( Messages.getString( "WizardLibrarySettingPage.Resourcefile.Dialog.Message" ) ); //$NON-NLS-1$				dialog.setValidator( new Validator( ) );				dialog.setInput( ReportPlugin.getDefault( )						.getResourcePreference( ) );				if ( dialog.open( ) == dialog.OK )				{					Object[] selected = dialog.getResult( );					if ( selected.length > 0 )					{						File file = (File) selected[0];						folderText.setText( file.getPath( ) );					}				}			}