Bug 530772 - Model Fragment Editor should not use InputPart in class
selection

Change-Id: I0c64413a8fcb019d5d1f639dc43cc63e9cb790ab
Signed-off-by: Olivier Prouvost <olivier.prouvost@opcoach.com>
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FindParentReferenceElementDialog.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FindParentReferenceElementDialog.java
index b1c38f5..b99df97 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FindParentReferenceElementDialog.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FindParentReferenceElementDialog.java
@@ -260,7 +260,9 @@
 			extendableClasses = new ArrayList<>();
 			for (final InternalPackage p : Util.loadPackages()) {
 				for (EClass c : p.getAllClasses()) {
-					if (Util.canBeExtendedInAFragment(c)) {
+					// Fix 530772 : as far as MInput is still in Application meta model, it should
+					// removed manually ! (see also 509868)
+					if (Util.canBeExtendedInAFragment(c) && !"InputPart".equals(c.getName())) { //$NON-NLS-1$
 						extendableClasses.add(c);
 					}
 				}