lblType.setLayoutData( gd ); lblType.setText( axis.getType( ).getName( ) );
cmbTypes.setLayoutData( gd ); NameSet ns = LiteralHelper.axisTypeSet; cmbTypes.setItems( ns.getDisplayNames( ) ); cmbTypes.select( ns.getSafeNameIndex( axis.getType( ).getName( ) ) ); cmbTypes.addSelectionListener( this );
		public void placeComponents( Composite parent )		{			Label lblAxis = new Label( parent, SWT.NONE );			{				GridData gd = new GridData( );				gd.horizontalAlignment = SWT.CENTER;				lblAxis.setLayoutData( gd );				lblAxis.setText( axisName );			}			btnVisible = new Button( parent, SWT.CHECK );			{				GridData gd = new GridData( );				gd.horizontalAlignment = SWT.CENTER;				btnVisible.setLayoutData( gd );				btnVisible.addSelectionListener( this );				btnVisible.setSelection( axis.getLineAttributes( ).isVisible( ) );			}			Label lblType = new Label( parent, SWT.NONE );			{				GridData gd = new GridData( );				gd.horizontalAlignment = SWT.CENTER;				lblType.setLayoutData( gd );				lblType.setText( axis.getType( ).getName( ) );			}			ColorDefinition clrCurrent = null;			if ( axis.eIsSet( ComponentPackage.eINSTANCE.getAxis_LineAttributes( ) ) )			{				clrCurrent = axis.getLineAttributes( ).getColor( );			}			cmbColor = new FillChooserComposite( parent, SWT.DROP_DOWN					| SWT.READ_ONLY, clrCurrent, false, false );			{				GridData gd = new GridData( );				gd.widthHint = 200;				cmbColor.setLayoutData( gd );				cmbColor.addListener( this );			}			if ( ChartUIUtil.is3DType( getChart( ) ) )			{				iscRotation = new IntegerSpinControl( parent,						SWT.NONE,						(int) getAxisAngle( angleType ) );				{					GridData gd = new GridData( GridData.FILL_HORIZONTAL );					gd.heightHint = iscRotation.getPreferredSize( ).y;					iscRotation.setLayoutData( gd );					iscRotation.setMaximum( 360 );					iscRotation.setMinimum( -360 );					iscRotation.addListener( this );				}			}		}