iconList = new List( listArea, SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL ); GridData gdIconList = new GridData( GridData.FILL_HORIZONTAL ); gdIconList.heightHint = 120; iconList.setLayoutData( gdIconList ); iconList.addSelectionListener( this );  if ( iconPalette != null ) { for ( int i = 0; i < iconPalette.getEntries( ).size( ); i++ ) { iconList.add( ( (Image) iconPalette.getEntries( ).get( i ) ).getURL( ) ); } }  btnRemove = new Button( listArea, SWT.NONE ); btnRemove.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) ); btnRemove.setText( Messages.getString( "MarkerIconDialog.Lbl.Remove" ) ); btnRemove.addSelectionListener( this );
	private void createListArea( Composite parent )	{		Composite listArea = new Composite( parent, SWT.NONE );		GridData gd = new GridData( GridData.FILL_BOTH				| GridData.HORIZONTAL_ALIGN_BEGINNING );		gd.widthHint = 300;		gd.heightHint = 260;		listArea.setLayoutData( gd );		listArea.setLayout( new GridLayout( ) );		GridLayout gl = new GridLayout( );		gl.marginWidth = 0;		gl.marginHeight = 0;		// Input Area is various depending on the selection (URI or Local).		inputArea = new Composite( listArea, SWT.NONE );		GridData gdInputArea = new GridData( GridData.FILL_BOTH				| GridData.HORIZONTAL_ALIGN_BEGINNING );		inputArea.setLayoutData( gdInputArea );		inputArea.setLayout( gl );		iconList = new List( listArea, SWT.SINGLE				| SWT.BORDER				| SWT.V_SCROLL				| SWT.H_SCROLL );		GridData gdIconList = new GridData( GridData.FILL_HORIZONTAL );		gdIconList.heightHint = 120;		iconList.setLayoutData( gdIconList );		iconList.addSelectionListener( this );		if ( iconPalette != null )		{			for ( int i = 0; i < iconPalette.getEntries( ).size( ); i++ )			{				iconList.add( ( (Image) iconPalette.getEntries( ).get( i ) ).getURL( ) );			}		}		btnRemove = new Button( listArea, SWT.NONE );		btnRemove.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) );		btnRemove.setText( Messages.getString( "MarkerIconDialog.Lbl.Remove" ) ); //$NON-NLS-1$		btnRemove.addSelectionListener( this );	}