summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2012-05-29 16:36:17 (EDT)
committer Tom Schindl2012-05-29 16:36:17 (EDT)
commit6cc6400cb9c8a4ca25673ae7906602b43272d69a (patch)
tree0f6108f5695b80b0880755bcaf5fe27ba4f257de
parent453628815adcfdbdd0c918df49c2920df55700be (diff)
downloadorg.eclipse.e4.tools-6cc6400cb9c8a4ca25673ae7906602b43272d69a.zip
org.eclipse.e4.tools-6cc6400cb9c8a4ca25673ae7906602b43272d69a.tar.gz
org.eclipse.e4.tools-6cc6400cb9c8a4ca25673ae7906602b43272d69a.tar.bz2
menus
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java
index b86ae27..5719a26 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/MenuEditor.java
@@ -546,7 +546,7 @@ public class MenuEditor extends AbstractComponentEditor {
protected void handleAdd(EClass eClass, boolean separator) {
MMenuElement eObject = (MMenuElement) EcoreUtil.create(eClass);
-
+ setElementId(eObject);
Command cmd = AddCommand.create(getEditingDomain(), getMaster().getValue(), UiPackageImpl.Literals.ELEMENT_CONTAINER__CHILDREN, eObject);
if (cmd.canExecute()) {