resource = new Button( selectionArea, SWT.RADIO ); resource.setText( Messages.getString( "ImageBuilder.ResourceFileType" ) ); resource.addSelectionListener( new SelectionAdapter( ) {  public void widgetSelected( SelectionEvent e ) { switchTo( FILE_TYPE ); } } );
	private void createSelectionArea( Composite parent )	{		Composite composite = new Composite( parent, SWT.NONE );		composite.setLayout( new GridLayout( 2, false ) );		composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );		Label label = new Label( composite, SWT.NONE );		label.setText( DLG_SELECT_PICTURE_LABEL );		label.setLayoutData( new GridData( GridData.VERTICAL_ALIGN_BEGINNING ) );		Composite selectionArea = new Composite( composite, SWT.NONE );		selectionArea.setLayout( new FillLayout( SWT.VERTICAL ) );		uri = new Button( selectionArea, SWT.RADIO );		uri.setText( DLG_URI_LABEL );		uri.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent e )			{				switchTo( URI_TYPE );			}		} );		embedded = new Button( selectionArea, SWT.RADIO );		embedded.setText( DLG_EMBEDDED_IMAGE_LABEL );		embedded.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent e )			{				switchTo( EMBEDDED_TYPE );			}		} );		dynamic = new Button( selectionArea, SWT.RADIO );		dynamic.setText( Messages.getString( "ImageBuilder.Button.Dynamic" ) ); //$NON-NLS-1$		dynamic.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent e )			{				switchTo( BLOB_TYPE );			}		} );	}