cbMultipleY = new Button( cmpMisc, SWT.CHECK ); cbMultipleY.setText( Messages.getString( "TaskSelectType.Label.AddSecondaryAxis" ) ); cbMultipleY.addSelectionListener( this );
cbMultipleY = new Combo( cmpMisc, SWT.DROP_DOWN | SWT.READ_ONLY ); { cbMultipleY.setItems( new String[]{ Messages.getString( "TaskSelectType.Selection.None" ), Messages.getString( "TaskSelectType.Selection.SecondaryAxis" ), Messages.getString( "TaskSelectType.Selection.MoreAxes" ) } ); cbMultipleY.addSelectionListener( this );  int axisNum = ChartUIUtil.getOrthogonalAxisNumber( chartModel ); selectMultipleAxis( axisNum ); }
	private void createMiscArea( )	{		cmpMisc = new Composite( cmpTask, SWT.NONE );		cmpMisc.setLayout( new GridLayout( 4, false ) );		cmpMisc.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		GridData gridData = null;		lblDimension = new Label( cmpMisc, SWT.NONE );		lblDimension.setText( Messages.getString( "ChartSelector.Lbl.Dimension" ) ); //$NON-NLS-1$		// Add the ComboBox for Dimensions		cbDimension = new Combo( cmpMisc, SWT.DROP_DOWN | SWT.READ_ONLY );		gridData = new GridData( GridData.GRAB_HORIZONTAL );		cbDimension.setLayoutData( gridData );		cbDimension.addSelectionListener( this );		lblOutput = new Label( cmpMisc, SWT.NONE );		{			gridData = new GridData( );			gridData.horizontalIndent = 50;			lblOutput.setLayoutData( gridData );			lblOutput.setText( Messages.getString( "TaskSelectType.Label.OutputFormat" ) ); //$NON-NLS-1$		}		// Add the ComboBox for Output Format		cbOutput = new Combo( cmpMisc, SWT.DROP_DOWN | SWT.READ_ONLY );		gridData = new GridData( GridData.GRAB_HORIZONTAL );		cbOutput.setLayoutData( gridData );		cbOutput.addSelectionListener( this );		lblMultipleY = new Label( cmpMisc, SWT.NONE );		lblMultipleY.setText( Messages.getString( "TaskSelectType.Label.MultipleYAxis" ) ); //$NON-NLS-1$		// Add the checkBox for Multiple Y Axis		cbMultipleY = new Button( cmpMisc, SWT.CHECK );		cbMultipleY.setText( Messages.getString( "TaskSelectType.Label.AddSecondaryAxis" ) ); //$NON-NLS-1$		cbMultipleY.addSelectionListener( this );		lblSeriesType = new Label( cmpMisc, SWT.NONE );		{			gridData = new GridData( );			gridData.horizontalIndent = 50;			lblSeriesType.setLayoutData( gridData );			lblSeriesType.setText( Messages.getString( "TaskSelectType.Label.SeriesType" ) ); //$NON-NLS-1$			lblSeriesType.setEnabled( false );		}		// Add the ComboBox for Series Type		cbSeriesType = new Combo( cmpMisc, SWT.DROP_DOWN | SWT.READ_ONLY );		{			GridData gd = new GridData( GridData.GRAB_HORIZONTAL );			cbSeriesType.setLayoutData( gd );			cbSeriesType.setEnabled( false );			cbSeriesType.addSelectionListener( this );		}		lblOrientation = new Label( cmpMisc, SWT.NONE );		lblOrientation.setText( Messages.getString( "TaskSelectType.Label.Oritention" ) ); //$NON-NLS-1$		// Add the CheckBox for Orientation		cbOrientation = new Button( cmpMisc, SWT.CHECK );		cbOrientation.setText( Messages.getString( "TaskSelectType.Label.FlipAxis" ) ); //$NON-NLS-1$		gridData = new GridData( );		gridData.horizontalSpan = 3;		cbOrientation.setLayoutData( gridData );		cbOrientation.addSelectionListener( this );		populateLists( );	}