cmbTypes.setItems( ns.getDisplayNames( ) ); cmbTypes.select( ns.getSafeNameIndex( getAxisForProcessing( ).getType( )
if ( getAxisAngleType( ) == AngleType.Y ) {  int indexText = ns.getSafeNameIndex( AxisType.TEXT_LITERAL.getName( ) ); String[] originalItems = ns.getDisplayNames( ); String[] newItems = new String[originalItems.length - 1]; for ( int i = 0, j = 0; i < originalItems.length; i++ ) { if ( i == indexText ) { continue; } newItems[j++] = originalItems[i]; } cmbTypes.setItems( newItems ); } else { cmbTypes.setItems( ns.getDisplayNames( ) ); } cmbTypes.setText( ns.getDisplayNameByName( getAxisForProcessing( ).getType( )
	private void populateLists( )	{		// Populate axis types combo		NameSet ns = LiteralHelper.axisTypeSet;		cmbTypes.setItems( ns.getDisplayNames( ) );		cmbTypes.select( ns.getSafeNameIndex( getAxisForProcessing( ).getType( )				.getName( ) ) );		// Populate origin types combo		if ( getChart( ).getDimension( ).getValue( ) != ChartDimension.THREE_DIMENSIONAL )		{			ns = LiteralHelper.intersectionTypeSet;			cmbOrigin.setItems( ns.getDisplayNames( ) );			cmbOrigin.select( ns.getSafeNameIndex( getAxisForProcessing( ).getOrigin( )					.getType( )					.getName( ) ) );		}		if ( getAxisForProcessing( ).getOrigin( )				.getType( )				.equals( IntersectionType.VALUE_LITERAL ) )		{			txtValue.setText( getValue( getAxisForProcessing( ).getOrigin( )					.getValue( ) ) );		}	}