Bug 64971 Code manipulation actions - insertion point after an existing method will insert at the end instead
I am using Generate Delegate Methods. I want to specify the position of the newly generated methods. Any combination for insertion point works (cursor position, at the beginning, at the end) except when I want to insert the new methods after any existing method. If I choose this option they will get positioned at the end of the file rather than being located after the method I chose in the dialog. Build id: 200405290105
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
applyDialogFont(composite);
					
		return composite;
	}				
	
	protected Composite createCommentSelection(Composite composite) {
		Composite commentComposite = new Composite(composite, SWT.NONE);
		GridLayout layout = new GridLayout();
		layout.marginHeight= 0;
		layout.marginWidth= 0;
		commentComposite.setLayout(layout);
		commentComposite.setFont(composite.getFont());	
		
		Button commentButton= new Button(commentComposite, SWT.CHECK);
		commentButton.setText(fCommentString); 
		commentButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
		commentButton.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent e) {
				boolean isSelected= (((Button) e.widget).getSelection());
				setGenerateComment(isSelected);
			}
			public void widgetDefaultSelected(SelectionEvent e) {
				widgetSelected(e);
			}
		});
		commentButton.setSelection(getGenerateComment());
		GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
		gd.horizontalSpan= 2;
		commentButton.setLayoutData(gd);