pUseZero = new Button( setting, SWT.CHECK ); pUseZero.setText( LABEL_USE_LEADING_ZERO ); gData = new GridData( ); gData.horizontalSpan = 2; pUseZero.setLayoutData( gData ); pUseZero.addSelectionListener( mySelectionListener );
	private void createPercentSettingPart( Composite percent )	{		Group setting = new Group( percent, SWT.NONE );		setting.setText( LABEL_PERCENT_SETTINGS_GROUP );		setting.setLayoutData( createGridData4Part( ) );		GridLayout layout = new GridLayout( 2, false );		layout.marginHeight = 0;		layout.verticalSpacing = 1;		setting.setLayout( layout );		new Label( setting, SWT.NONE ).setText( LABEL_DECIMAL_PLACES );		pPlacesChoice = new Combo( setting, SWT.BORDER				| SWT.SINGLE				| SWT.V_SCROLL );		pPlacesChoice.setItems( new String[]{				"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$		} );		GridData data = new GridData( GridData.FILL_HORIZONTAL );		pPlacesChoice.setLayoutData( data );		pPlacesChoice.addSelectionListener( mySelectionListener );		pPlacesChoice.addModifyListener( myModifyListener );		pPlacesChoice.addFocusListener(myFocusListener);		pPlacesChoice.select( 2 );		pUseSep = new Button( setting, SWT.CHECK );		pUseSep.setText( LABEL_USE_1000S_SEPARATOR );		GridData gData = new GridData( );		gData.horizontalSpan = 2;		pUseSep.setLayoutData( gData );		pUseSep.addSelectionListener( mySelectionListener );		pUseZero = new Button( setting, SWT.CHECK );		pUseZero.setText( LABEL_USE_LEADING_ZERO );		gData = new GridData( );		gData.horizontalSpan = 2;		pUseZero.setLayoutData( gData );		pUseZero.addSelectionListener( mySelectionListener );		new Label( setting, SWT.NONE ).setText( LABEL_SYMBOL_POSITION );		pSymPosChoice = new Combo( setting, SWT.DROP_DOWN | SWT.READ_ONLY );		pSymPosChoice.setItems( new String[]{				SYMBOL_POSITION_AFTER, SYMBOL_POSITION_BEFORE		} );		pSymPosChoice.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		pSymPosChoice.addSelectionListener( mySelectionListener );		pSymPosChoice.select( 0 );		Label label = new Label( setting, SWT.NONE );		label.setText( LABEL_NEGATIVE_NUMBERS );		label.setLayoutData( new GridData( GridData.VERTICAL_ALIGN_BEGINNING ) );		pNegNumChoice = new List( setting, SWT.SINGLE				| SWT.BORDER				| SWT.V_SCROLL );		pNegNumChoice.add( "-1234.56" ); //$NON-NLS-1$		pNegNumChoice.add( "(1234.56)" ); //$NON-NLS-1$		pNegNumChoice.setLayoutData( new GridData( GridData.FILL_BOTH ) );		pNegNumChoice.addSelectionListener( mySelectionListener );		pNegNumChoice.select( 0 );	}