Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 331539
Collapse All | Expand All

(-)src/org/eclipse/emf/facet/widgets/nattable/NatTableWidget.java (-1 / +8 lines)
Lines 64-69 Link Here
64
import org.eclipse.emf.ecore.EAttribute;
64
import org.eclipse.emf.ecore.EAttribute;
65
import org.eclipse.emf.ecore.EClass;
65
import org.eclipse.emf.ecore.EClass;
66
import org.eclipse.emf.ecore.EClassifier;
66
import org.eclipse.emf.ecore.EClassifier;
67
import org.eclipse.emf.ecore.EDataType;
67
import org.eclipse.emf.ecore.EEnum;
68
import org.eclipse.emf.ecore.EEnum;
68
import org.eclipse.emf.ecore.EObject;
69
import org.eclipse.emf.ecore.EObject;
69
import org.eclipse.emf.ecore.EReference;
70
import org.eclipse.emf.ecore.EReference;
Lines 619-624 Link Here
619
			EClass subTypeEClass = (EClass) subType;
620
			EClass subTypeEClass = (EClass) subType;
620
			return superTypeEClass.isSuperTypeOf(subTypeEClass);
621
			return superTypeEClass.isSuperTypeOf(subTypeEClass);
621
		}
622
		}
623
624
		if (superType == EcorePackage.eINSTANCE.getEDataType() && subType instanceof EDataType) {
625
			// special case because isSuperTypeOf doesn't handle it
626
			return true;
627
		}
628
622
		return false;
629
		return false;
623
	}
630
	}
624
631
Lines 1111-1117 Link Here
1111
				}
1118
				}
1112
			}
1119
			}
1113
			// Update the Table
1120
			// Update the Table
1114
			this.setInput(new TableInput(list, this.fTableInput.getEditingDomain()));
1121
			setInput(new TableInput(list, this.fTableInput.getEditingDomain()));
1115
		} finally {
1122
		} finally {
1116
			this.fNatTable.setRedraw(true);
1123
			this.fNatTable.setRedraw(true);
1117
		}
1124
		}

Return to bug 331539