Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GenAction.java3
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java2
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GenAction.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GenAction.java
index 60df12a40..fa8f74594 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GenAction.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GenAction.java
@@ -63,6 +63,9 @@ public interface GenAction extends GenContributionItem {
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Human-readble name
+ * <!-- end-model-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenAction_Name()
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java
index 2dd23cb4f..96dce2eda 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java
@@ -368,8 +368,8 @@ public class GMFGenSwitch<T> {
case GMFGenPackage.GEN_LINK: {
GenLink genLink = (GenLink)theEObject;
T result = caseGenLink(genLink);
- if (result == null) result = caseGenCommonBase(genLink);
if (result == null) result = caseGenLinkEnd(genLink);
+ if (result == null) result = caseGenCommonBase(genLink);
if (result == null) result = defaultCase(theEObject);
return result;
}

Back to the top