commit | ee802b3858fb6069e3fabb3dba8b3e29e83ba87d | [log] [tgz] |
---|---|---|
author | Olivier Prouvost <olivier.prouvost@opcoach.com> | Tue Feb 06 14:48:40 2018 +0100 |
committer | Olivier Prouvost <olivier.prouvost@opcoach.com> | Tue Feb 06 14:48:40 2018 +0100 |
tree | 29cf8ae68f1446f9ce7f5dba3e3fa9566f26e936 | |
parent | e60d791fefeafd11e8154ba42c8ede49763bad26 [diff] |
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); } }