private void createBrowerButton( Composite parent, final Text text,
private Button createBrowerButton( Composite parent, final Text text,
	private void createBrowerButton( Composite parent, final Text text,			final boolean needQuote, final boolean needFilter )	{		Button button = new Button( parent, SWT.PUSH );		button.setLayoutData( new GridData( ) );		button.setImage( IMAGE_OPEN_FILE );		button.setToolTipText( TOOLTIP_BROWSE_FILE );		button.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent e )			{				FileDialog dialog = new FileDialog( UIUtil.getDefaultShell( ) );				if ( needFilter )				{					dialog.setFilterExtensions( new String[]{"*.rptdesign" //$NON-NLS-1$							} );				}				try				{					String filename = dialog.open( );					if ( filename != null )					{						if ( needFilter )						{							filename = URIUtil.getRelativePath( getBasePath( ),									filename );						}						filename = new Path( filename ).toString( );						if ( needQuote )						{							filename = "\"" + filename + "\""; //$NON-NLS-1$ //$NON-NLS-2$						}						text.setText( filename );					}					else					{						text.setText( "" ); //$NON-NLS-1$					}					updateButtons( );				}				catch ( Exception ex )				{					ExceptionHandler.handle( ex );				}			}		} );	}