Bug 62896 [misc] Quick Outline should not show override indicators if decorator disabled
I20040519 The quick outline shows override indicators no matter whether the Override indicator decorator is enabled in the prefs or not. We should only install the decorator if the prefs says so since this is a performance saver.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
* @see org.eclipse.jface.viewers.ViewerSorter#compare(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
		 */
		public int compare(Viewer viewer, Object e1, Object e2) {
			int cat1= category(e1);
			int cat2= category(e2);
			if (cat1 != cat2)
				return cat1 - cat2;
			
			if (cat1 == OTHER) { 
				if (fSortByDefiningTypeAction.isChecked()) {
					try {
						IType def1= (e1 instanceof IMethod) ? getDefiningType((IMethod) e1) : null;
						IType def2= (e2 instanceof IMethod) ? getDefiningType((IMethod) e2) : null;
						if (def1 != null) {
							if (def2 != null) {
								if (!def2.equals(def1)) {
									return compareInHierarchy(getSuperTypeHierarchy(def1), def1, def2);
								}
							} else {
								return -1;						
							}					
						} else {
							if (def2 != null) {
								return 1;
							}	
						}
					} catch (JavaModelException e) {
						
					}
				}