Bug 62086 [User library] Jars in User Libraries Can't be ordered
Inorder to get a patch to Easymock to work the patch jar must be first in the classpath. There does not appear to be a way to do this with the User Libraries. I'm using the I20040506 build.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
}
	}
	
	
	protected boolean containsAttributes(List selected) {
		for (int i= 0; i < selected.size(); i++) {
			if (!fElements.contains(selected.get(i))) {
				return true;
			}
		}
		return false;
	}
	
	protected boolean getManagedButtonState(ISelection sel, int index) {
		List selected= getSelectedElements();
		boolean hasAttributes= containsAttributes(selected);
		if (index == fRemoveButtonIndex) {
			return !selected.isEmpty() && !hasAttributes;
		} else if (index == fUpButtonIndex) {
			return !sel.isEmpty() && !hasAttributes && canMoveUp(selected);
		} else if (index == fDownButtonIndex) {
			return !sel.isEmpty() && !hasAttributes && canMoveDown(selected);
		}
		return true;
	}
	/*
	* @see DialogField#updateEnableState
	*/
	protected void updateEnableState() {
		super.updateEnableState();