btnABottomLeft = createAlighmentButton( cmpAlignment ); btnABottomLeft.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignBottomLeft" ) ); btnABottomLeft.setImage( UIHelper.getImage( "icons/obj28/alignmentbottomleft.gif" ) ); btnABottomLeft.getImage( ) .setBackground( btnABottomLeft.getBackground( ) );
createSeparator( cmpAlignment );
	private void createAlignmentPanel( )	{		new Label( cmpContent, SWT.NONE ).setText( Messages.getString( "FontDefinitionDialog.Lbl.Alignment" ) ); //$NON-NLS-1$		Composite cmpAlignment = new Composite( cmpContent, SWT.NONE );		{			GridData gdCMPAlignment = new GridData( GridData.FILL_HORIZONTAL );			gdCMPAlignment.horizontalSpan = 8;			cmpAlignment.setLayoutData( gdCMPAlignment );			GridLayout glAlignment = new GridLayout( 11, false );			glAlignment.marginWidth = 2;			glAlignment.marginHeight = 0;			cmpAlignment.setLayout( glAlignment );		}		btnATopLeft = createAlighmentButton( cmpAlignment );		btnATopLeft.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignTopLeft" ) ); //$NON-NLS-1$		btnATopLeft.setImage( UIHelper.getImage( "icons/obj28/alignmenttopleft.gif" ) ); //$NON-NLS-1$		btnATopLeft.getImage( ).setBackground( btnATopLeft.getBackground( ) );		btnATopCenter = createAlighmentButton( cmpAlignment );		btnATopCenter.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignTopCenter" ) ); //$NON-NLS-1$		btnATopCenter.setImage( UIHelper.getImage( "icons/obj28/alignmenttopcenter.gif" ) ); //$NON-NLS-1$		btnATopCenter.getImage( )				.setBackground( btnATopCenter.getBackground( ) );		btnATopRight = createAlighmentButton( cmpAlignment );		btnATopRight.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignTopRight" ) ); //$NON-NLS-1$		btnATopRight.setImage( UIHelper.getImage( "icons/obj28/alignmenttopright.gif" ) ); //$NON-NLS-1$		btnATopRight.getImage( ).setBackground( btnATopRight.getBackground( ) );		createSeparator( cmpAlignment );		btnACenterLeft = createAlighmentButton( cmpAlignment );		btnACenterLeft.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignCenterLeft" ) ); //$NON-NLS-1$		btnACenterLeft.setImage( UIHelper.getImage( "icons/obj28/alignmentcenterleft.gif" ) ); //$NON-NLS-1$		btnACenterLeft.getImage( )				.setBackground( btnACenterLeft.getBackground( ) );		btnACenter = createAlighmentButton( cmpAlignment );		btnACenter.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignCenter" ) ); //$NON-NLS-1$		btnACenter.setImage( UIHelper.getImage( "icons/obj28/alignmentcenter.gif" ) ); //$NON-NLS-1$		btnACenter.getImage( ).setBackground( btnACenter.getBackground( ) );		btnACenterRight = createAlighmentButton( cmpAlignment );		btnACenterRight.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignCenterRight" ) ); //$NON-NLS-1$		btnACenterRight.setImage( UIHelper.getImage( "icons/obj28/alignmentcenterright.gif" ) ); //$NON-NLS-1$		btnACenterRight.getImage( )				.setBackground( btnACenterRight.getBackground( ) );		createSeparator( cmpAlignment );		btnABottomLeft = createAlighmentButton( cmpAlignment );		btnABottomLeft.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignBottomLeft" ) ); //$NON-NLS-1$		btnABottomLeft.setImage( UIHelper.getImage( "icons/obj28/alignmentbottomleft.gif" ) ); //$NON-NLS-1$		btnABottomLeft.getImage( )				.setBackground( btnABottomLeft.getBackground( ) );		btnABottomCenter = createAlighmentButton( cmpAlignment );		btnABottomCenter.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignBottomCenter" ) ); //$NON-NLS-1$		btnABottomCenter.setImage( UIHelper.getImage( "icons/obj28/alignmentbottomcenter.gif" ) ); //$NON-NLS-1$		btnABottomCenter.getImage( )				.setBackground( btnABottomCenter.getBackground( ) );		btnABottomRight = createAlighmentButton( cmpAlignment );		btnABottomRight.setToolTipText( Messages.getString( "FontDefinitionDialog.Tooltip.AlignBottomRight" ) ); //$NON-NLS-1$		btnABottomRight.setImage( UIHelper.getImage( "icons/obj28/alignmentbottomright.gif" ) ); //$NON-NLS-1$		btnABottomRight.getImage( )				.setBackground( btnABottomRight.getBackground( ) );	}