gd.heightHint= table.getGridLineWidth() + table.getItemHeight() * ROW_COUNT;
gd.heightHint= table.getHeaderHeight() + table.getGridLineWidth() * (ROW_COUNT + 1) + table.getItemHeight() * ROW_COUNT;
	private void createParameterList(Composite parent) {		TableLayoutComposite layouter= new TableLayoutComposite(parent, SWT.NULL);		addColumnLayoutData(layouter);				final Table table= new Table(layouter, SWT.MULTI | SWT.BORDER | SWT.FULL_SELECTION);		table.setHeaderVisible(true);		table.setLinesVisible(true);		TableColumn tc;		tc= new TableColumn(table, SWT.NONE, TYPE_PROP);		tc.setResizable(true);		tc.setText(RefactoringMessages.getString("ChangeParametersControl.table.type")); //$NON-NLS-1$				tc= new TableColumn(table, SWT.NONE, NEWNAME_PROP);		tc.setResizable(true);		tc.setText(RefactoringMessages.getString("ChangeParametersControl.table.name")); //$NON-NLS-1$		if (fCanAddParameters){			tc= new TableColumn(table, SWT.NONE, DEFAULT_PROP);			tc.setResizable(true);			tc.setText(RefactoringMessages.getString("ChangeParametersControl.table.defaultValue")); //$NON-NLS-1$		}					GridData gd= new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL);		gd.heightHint= table.getGridLineWidth() + table.getItemHeight() * ROW_COUNT;		gd.widthHint= 40;		layouter.setLayoutData(gd);		fTableViewer= new TableViewer(table);		fTableViewer.setUseHashlookup(true);		fTableViewer.setContentProvider(new ParameterInfoContentProvider());		fTableViewer.setLabelProvider(new ParameterInfoLabelProvider());		fTableViewer.addSelectionChangedListener(new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				updateButtonsEnabledState();			}		});		if (canEditTableCells()){			addCellEditors();//			addTableCursor(table); //XXX don't create it here  see bug 24798		}		}