aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Chernikov2012-05-22 23:14:07 (EDT)
committermgolubev2012-05-22 23:14:07 (EDT)
commitfa07840a3c0415f3a577e1d4ba4c8ab13acb7153 (patch)
tree40bdf03956e114e0f7c06d217a7df8d8f33a399f
parentfdd37d4f2dff95bb6d5b8010fc640e0f34d68c22 (diff)
downloadorg.eclipse.gmf-tooling-fa07840a3c0415f3a577e1d4ba4c8ab13acb7153.zip
org.eclipse.gmf-tooling-fa07840a3c0415f3a577e1d4ba4c8ab13acb7153.tar.gz
org.eclipse.gmf-tooling-fa07840a3c0415f3a577e1d4ba4c8ab13acb7153.tar.bz2
[174005] - Allow inner phantom elements
+amended to correctly set author
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/TypeModelFacetImpl.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/TypeModelFacetImpl.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/TypeModelFacetImpl.java
index afb1611..df0036c 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/TypeModelFacetImpl.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/TypeModelFacetImpl.java
@@ -1,9 +1,3 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
package org.eclipse.gmf.codegen.gmfgen.impl;
import org.eclipse.emf.codegen.ecore.genmodel.GenClass;
@@ -17,7 +11,7 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
import org.eclipse.gmf.codegen.gmfgen.GenConstraint;
import org.eclipse.gmf.codegen.gmfgen.GenElementInitializer;
-import org.eclipse.gmf.codegen.gmfgen.GenTopLevelNode;
+import org.eclipse.gmf.codegen.gmfgen.GenNode;
import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
/**
@@ -316,7 +310,7 @@ public class TypeModelFacetImpl extends EObjectImpl implements TypeModelFacet {
* @generated NOT
*/
public boolean isPhantomElement() {
- return eContainer() instanceof GenTopLevelNode && getContainmentMetaFeature() == null;
+ return eContainer() instanceof GenNode && getContainmentMetaFeature() == null;
}
/**