diff options
author | Sopot Cela | 2013-12-12 16:46:02 +0000 |
---|---|---|
committer | Sopot Cela | 2013-12-12 16:46:02 +0000 |
commit | be7720d498a7da9b559778bda50012c9cd7affdf (patch) | |
tree | a587e97c02ac0f61e9b622f1bd30a6d97c85db7a | |
parent | 7b85a13905f320473c934bbc707a8b539ee63fb5 (diff) | |
download | org.eclipse.e4.tools-be7720d498a7da9b559778bda50012c9cd7affdf.tar.gz org.eclipse.e4.tools-be7720d498a7da9b559778bda50012c9cd7affdf.tar.xz org.eclipse.e4.tools-be7720d498a7da9b559778bda50012c9cd7affdf.zip |
Bug 423931 - [Model Editor] Editing Context Properties or PersistedI20131215-2200I20131214-2200I20131213-2200I20131212-2200
State modifies key rather than value
Change-Id: I8a8b485a4ec8dcecef4d9f616823d03c631fa087
Signed-off-by: Sopot Cela <sopotcela@gmail.com>
-rw-r--r-- | bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java index a866696b..515443e1 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/ControlFactory.java @@ -228,9 +228,10 @@ public class ControlFactory { @Override protected void setValue(Object element, Object value) { - Command cmd = SetCommand.create(editor.getEditingDomain(), element, ApplicationPackageImpl.Literals.STRING_TO_STRING_MAP__KEY, value.toString().trim().length() == 0 ? null : value.toString()); + Command cmd = SetCommand.create(editor.getEditingDomain(), element, ApplicationPackageImpl.Literals.STRING_TO_STRING_MAP__VALUE, value.toString().trim().length() == 0 ? null : value.toString()); if (cmd.canExecute()) { editor.getEditingDomain().getCommandStack().execute(cmd); + tableviewer.refresh(); } } |