public void widgetSelected( SelectionEvent event ) { openResourceBrowser( ); } } ); }
	private void swtichToExprType( )	{		Label title = new Label( inputArea, SWT.NONE );		uriEditor = new Text( inputArea, SWT.SINGLE | SWT.BORDER );		uriEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		uriEditor.addModifyListener( new ModifyListener( ) {			public void modifyText( ModifyEvent e )			{				updateButtons( );			}		} );		Composite innerComp = new Composite( inputArea, SWT.NONE );		innerComp.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );		if ( selectedType == BLOB_TYPE )		{			innerComp.setLayout( new GridLayout( 3, false ) );			title.setText( Messages.getString( "ImageBuilder.Label.EnterExpr" ) ); //$NON-NLS-1$		}		else		{			innerComp.setLayout( new GridLayout( 3, false ) );			title.setText( DLG_ENTER_URI_LABEL );			Button inputButton = new Button( innerComp, SWT.PUSH );			inputButton.setText( Messages.getString( "ImageBuilder.ButtonBrowser" ) ); //$NON-NLS-1$			inputButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );			inputButton.addSelectionListener( new SelectionAdapter( ) {				public void widgetSelected( SelectionEvent event )				{					openResourceBrowser( );				}			} );		}		Button inputButton = new Button( innerComp, SWT.PUSH );		inputButton.setText( Messages.getString( "ImageBuilder.Label.Open" ) ); //$NON-NLS-1$		inputButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );		inputButton.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent event )			{				openExpression( );			}		} );		if ( selectedType == BLOB_TYPE )		{			bindingButton = new Button( innerComp, SWT.PUSH );			bindingButton.setText( Messages.getString( "ImageBuilder.Label.Binding" ) ); //$NON-NLS-1$			bindingButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );			bindingButton.addSelectionListener( new SelectionAdapter( ) {				public void widgetSelected( SelectionEvent event )				{					openBidingDialog( );				}			} );		}		previewButton = new Button( innerComp, SWT.PUSH );		previewButton.setText( DLG_PREVIEW_LABEL );		previewButton.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );		previewButton.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent event )			{				switch ( selectedType )				{					case URI_TYPE :						uriEditor.setText( uriEditor.getText( ).trim( ) );						preview( CorePlugin.RESOURCE_FOLDER								+ File.separator								+ removeQuoteString( uriEditor.getText( ) ) );						break;				}			}		} );		initURIEditor( );	}