cbSeriesType.setLayoutData( new GridData( GridData.GRAB_HORIZONTAL ) ); cbSeriesType.setEnabled( false ); cbSeriesType.addSelectionListener( this );
{ GridData gd = new GridData( GridData.GRAB_HORIZONTAL ); gd.widthHint = 80; cbSeriesType.setLayoutData( gd ); cbSeriesType.setEnabled( false ); cbSeriesType.addSelectionListener( this ); }
	private void createMiscArea( )	{		cmpMisc = new Composite( cmpTask, SWT.NONE );		cmpMisc.setLayout( new GridLayout( 4, false ) );		cmpMisc.setLayoutData( new GridData( GridData.FILL_HORIZONTAL				| GridData.FILL_VERTICAL ) );		GridData gridData = null;		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 );		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 );		cbSeriesType.setLayoutData( new GridData( GridData.GRAB_HORIZONTAL ) );		cbSeriesType.setEnabled( false );		cbSeriesType.addSelectionListener( this );		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 );		gridData.horizontalSpan = 3;		gridData.widthHint = 70;		cbDimension.setLayoutData( gridData );		cbDimension.addSelectionListener( this );		lblOutput = new Label( cmpMisc, SWT.NONE );		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 );		gridData.horizontalSpan = 3;		gridData.widthHint = 70;		cbOutput.setLayoutData( gridData );		cbOutput.addSelectionListener( this );		populateLists( );	}