uriEditor = new Text( inputArea, SWT.SINGLE | SWT.BORDER );
uriEditor = new Text( inputArea, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
	private void swtichToResourceType( )	{		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 ) );		innerComp.setLayout( new GridLayout( 2, 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( );			}		} );		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 )			{				uriEditor.setText( uriEditor.getText( ).trim( ) );				preview( CorePlugin.RESOURCE_FOLDER						+ File.separator						+ removeQuoteString( uriEditor.getText( ) ) );			}		} );		initURIEditor( );	}