Bug 8150 Override methods dialog is too long
The Override methods dialog takes up the entire depth of the screen in Windows Standard Extra large. This is acceptable but if it doesn't need to be this large it should be reduced in size. STEPS 1) Create a class that implements java.sql.Statement 2) Select Override Methods from the Outline View 3) Very long dialog opens
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/CheckedTreeSelectionDialog.java
});
		
		fViewer.setSorter(fSorter);
		if (fFilters != null) {
			for (int i= 0; i != fFilters.size(); i++)
				fViewer.addFilter((ViewerFilter) fFilters.get(i));
		}
				
		fViewer.setInput(fInput);
		
		return fViewer.getTree();	
	}
		
	/**
	 * Add the selection and deselection buttons to the dialog.
	 * @param composite org.eclipse.swt.widgets.Composite
	 */
	private Composite createSelectionButtons(Composite composite) {
		Composite buttonComposite= new Composite(composite, SWT.RIGHT);
		GridLayout layout= new GridLayout();
		layout.numColumns= 2;
		buttonComposite.setLayout(layout);
		GridData data= new GridData(GridData.HORIZONTAL_ALIGN_END | GridData.GRAB_HORIZONTAL);
		data.grabExcessHorizontalSpace= true;
		composite.setData(data);
		Button selectButton= createButton(buttonComposite, IDialogConstants.SELECT_ALL_ID, "Select All", false);
		SelectionListener listener= new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				fViewer.setCheckedElements(fContentProvider.getElements(fInput));
				updateOKStatus();