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/actions/OverrideMethodQuery.java
}
		
		ILabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT);
		ITreeContentProvider cprovider= new OverrideMethodContentProvider(methods, typesArrays);
		
		CheckedTreeSelectionDialog dialog= new CheckedTreeSelectionDialog(fShell, lprovider, cprovider);
		dialog.setValidator(new OverrideMethodValidator());
		dialog.setTitle(JavaUIMessages.getString("OverrideMethodQuery.dialog.title"));
		dialog.setMessage(JavaUIMessages.getString("OverrideMethodQuery.dialog.description"));
		dialog.setInitialSelections(defaultSelected);
		dialog.setExpandedElements(expanded.toArray());
		dialog.setContainerMode(true);
		dialog.setSorter(sorter);
		dialog.setSize(60, 25);
		dialog.setInput(this); 
		if (dialog.open() == dialog.OK) {
			Object[] checkedElements= dialog.getResult();
			ArrayList result= new ArrayList(checkedElements.length);
			for (int i= 0; i < checkedElements.length; i++) {
				Object curr= checkedElements[i];
				if (curr instanceof IMethod) {
					result.add(curr);
				}
			}
			return (IMethod[]) result.toArray(new IMethod[result.size()]);
		}
		return null;
	}
}