Bug 38514 getters/setters dialog: layout [code manipulation]
I20030604 label and comboboxes should be aligned horizontally (not vertically) -> more space efficient -> required for accessability?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
}
	
	private Composite addOrderEntryChoices(Composite buttonComposite) {
		Label enterLabel= new Label(buttonComposite, SWT.NONE);
		enterLabel.setText(ActionMessages.getString("SourceActionDialog.enterAt_label")); 
			
		GridData gd= new GridData(GridData.FILL_BOTH);
		enterLabel.setLayoutData(gd);
		final Combo enterCombo= new Combo(buttonComposite, SWT.READ_ONLY);
		fillWithPossibleInsertPositions(enterCombo);
			
		gd= new GridData(GridData.FILL_BOTH);
		gd.grabExcessHorizontalSpace= true;
		enterCombo.setLayoutData(gd);
		enterCombo.addSelectionListener(new SelectionAdapter(){
			public void widgetSelected(SelectionEvent e) {
				int index= enterCombo.getSelectionIndex();
								
				getContentProvider().setInsertPosition(index);
				setInsertionIndex(index);
			}
		});	
		return buttonComposite;			
	}
	private void fillWithPossibleInsertPositions(Combo combo) {
		try {
			int position= 0;
			int presetOffset= 0;
			if (fEditor != null) {
				presetOffset= ((TextSelection) fEditor.getSelectionProvider().getSelection()).getOffset();