String sCurrentFormat = null; if ( this.chartModel != null ) { Iterator iter = chartModel.getExtendedProperties( ).iterator( ); while ( iter.hasNext( ) ) { ExtendedProperty prop = (ExtendedProperty) iter.next( ); if ( prop.getName( ).equals( PROP_OUTPUTFORMAT ) ) { sCurrentFormat = prop.getValue( ); } } } cbOutput.setText( ( sCurrentFormat == null ) ? ( (ChartWizardContext) getContext( ) ).getDefaultOutputFormat( )
String sCurrentFormat = ( (ChartWizardContext) getContext( ) ).getOutputFormat( );  cbOutput.setText( ( sCurrentFormat == null ) ? ( (ChartWizardContext) getContext( ) ).getDefaultOutputFormat( )
	private void populateLists( )	{		if ( "Horizontal".equals( this.orientation ) ) //$NON-NLS-1$		{			cbOrientation.setSelection( true );		}		else		{			cbOrientation.setSelection( false );		}		cbOutput.setItems( getOutputFormats( ) );		String sCurrentFormat = null;		if ( this.chartModel != null )		{			Iterator iter = chartModel.getExtendedProperties( ).iterator( );			while ( iter.hasNext( ) )			{				ExtendedProperty prop = (ExtendedProperty) iter.next( );				if ( prop.getName( ).equals( PROP_OUTPUTFORMAT ) )				{					sCurrentFormat = prop.getValue( );				}			}		}		cbOutput.setText( ( sCurrentFormat == null )				? ( (ChartWizardContext) getContext( ) ).getDefaultOutputFormat( )				: sCurrentFormat );	}