Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2012-09-04 20:29:27 -0400
committerTom Schindl2012-09-04 20:29:27 -0400
commitf37bd163344d8c826a5ca122e575b8d36d248567 (patch)
tree9bdae5b6a2d28bc940d9a3dabb8bd69f8c070116
parentdd901c12b4080861e1097d5b870399c1af9d42c3 (diff)
downloadorg.eclipse.e4.tools-f37bd163344d8c826a5ca122e575b8d36d248567.tar.gz
org.eclipse.e4.tools-f37bd163344d8c826a5ca122e575b8d36d248567.tar.xz
org.eclipse.e4.tools-f37bd163344d8c826a5ca122e575b8d36d248567.zip
[Bug 385265] [Tooling] Update problem on binding context tree items
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java
index 2c7693ff..65a1674e 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java
@@ -29,6 +29,7 @@ import org.eclipse.e4.ui.model.application.impl.ApplicationPackageImpl;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.databinding.EMFDataBindingContext;
import org.eclipse.emf.databinding.EMFProperties;
+import org.eclipse.emf.databinding.FeaturePath;
import org.eclipse.emf.databinding.IEMFListProperty;
import org.eclipse.emf.databinding.edit.EMFEditProperties;
import org.eclipse.emf.ecore.EObject;
@@ -102,6 +103,11 @@ public class BindingContextEditor extends AbstractComponentEditor {
}
@Override
+ public FeaturePath[] getLabelProperties() {
+ return new FeaturePath[] { FeaturePath.fromList(CommandsPackageImpl.Literals.BINDING_CONTEXT__NAME), FeaturePath.fromList(ApplicationPackageImpl.Literals.APPLICATION_ELEMENT__ELEMENT_ID) };
+ }
+
+ @Override
public String getDescription(Object element) {
return Messages.BindingContextEditor_TreeLabelDescription;
}

Back to the top