Bug 42068 Pref Pages button order
The button order of: New.../Add... Edit... Remove Should be the same on the following preference pages: Classpath Variables Debug/Detail Formatter Editor/Templates Installed JREs Organize Imports Task Tags @@@ There should be no extra space on: Classpath Variables Task Tags @@@@ The "Up" and "Down" Buttons on Organize Imports should be placed after "New...", "Edit...", and "Remove" for consistency. There should be an extra space between "Remove" and "Enable All" on Debug/Step Filtering for consistency. There should be an extra space between "Remove" and "Search" on Installed JREs for consistency.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
ISelection selection= fTable.getSelection();
			if (selection instanceof IStructuredSelection) {
				Iterator iter= ((IStructuredSelection)selection).iterator();
				while (iter.hasNext()) {
					result.add(iter.next());
				}
			}
		}
		return result;
	}
	
	
	
	private class ListViewerAdapter implements IStructuredContentProvider, ISelectionChangedListener, IDoubleClickListener {
		
	
		public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
			
		}
		
		public boolean isDeleted(Object element) {
			return false;
		}
	
		public void dispose() {
		}
		
		public Object[] getElements(Object obj) {
			return fElements.toArray();
		}