validation of Properties' values consistency
diff --git a/modeling/plugins/org.eclipse.pde.ds.ui/src/org/eclipse/pde/ds/ui/internal/editor/detailpart/PropertyDetailsPart.java b/modeling/plugins/org.eclipse.pde.ds.ui/src/org/eclipse/pde/ds/ui/internal/editor/detailpart/PropertyDetailsPart.java
index 79c6448..0a59920 100644
--- a/modeling/plugins/org.eclipse.pde.ds.ui/src/org/eclipse/pde/ds/ui/internal/editor/detailpart/PropertyDetailsPart.java
+++ b/modeling/plugins/org.eclipse.pde.ds.ui/src/org/eclipse/pde/ds/ui/internal/editor/detailpart/PropertyDetailsPart.java
@@ -8,7 +8,7 @@
  * Contributors:
  *     Anyware Technologies - initial API and implementation
  *
- * $Id: PropertyDetailsPart.java,v 1.4 2009/05/29 23:52:32 bcabe Exp $
+ * $Id: PropertyDetailsPart.java,v 1.5 2009/06/02 10:48:02 bcabe Exp $
  */
 package org.eclipse.pde.ds.ui.internal.editor.detailpart;
 
@@ -27,6 +27,7 @@
 import org.eclipse.pde.ds.scr.JavaType;
 import org.eclipse.pde.ds.scr.ScrPackage;
 import org.eclipse.pde.ds.ui.internal.editor.composites.PropertyComposite;
+import org.eclipse.pde.emfforms.databinding.EMFValidatingUpdateValueStrategy;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.*;
@@ -82,7 +83,7 @@
 		bindingContext.bindValue(ViewersObservables.observeSingleSelection(propertyComposite.getComboType()), EMFEditProperties.value(editingDomain, ScrPackage.eINSTANCE.getProperty_Type()).observeDetail(currentProperty), null, null);
 
 		//Value
-		bindingContext.bindValue(WidgetProperties.text(SWT.FocusOut).observe(propertyComposite.getTextValue()), EMFEditProperties.value(editingDomain, ScrPackage.eINSTANCE.getProperty_Value()).observeDetail(currentProperty), null, null);
+		bindingContext.bindValue(WidgetProperties.text(SWT.FocusOut).observe(propertyComposite.getTextValue()), EMFEditProperties.value(editingDomain, ScrPackage.eINSTANCE.getProperty_Value()).observeDetail(currentProperty), new EMFValidatingUpdateValueStrategy(), null);
 
 	}
 
diff --git a/modeling/plugins/org.eclipse.pde.ds/src/org/eclipse/pde/ds/scr/util/ScrValidator.java b/modeling/plugins/org.eclipse.pde.ds/src/org/eclipse/pde/ds/scr/util/ScrValidator.java
index f30f0e8..5cbe431 100644
--- a/modeling/plugins/org.eclipse.pde.ds/src/org/eclipse/pde/ds/scr/util/ScrValidator.java
+++ b/modeling/plugins/org.eclipse.pde.ds/src/org/eclipse/pde/ds/scr/util/ScrValidator.java
@@ -8,7 +8,7 @@
  * Contributors:
  *     Anyware Technologies - initial API and implementation
  *
- * $Id: ScrValidator.java,v 1.1 2009/02/15 15:26:22 bcabe Exp $
+ * $Id: ScrValidator.java,v 1.1 2009/02/15 20:54:36 bcabe Exp $
  */
 package org.eclipse.pde.ds.scr.util;
 
@@ -205,7 +205,7 @@
 						 0,
 						 "_UI_GenericConstraint_diagnostic",
 						 new Object[] { "isValueConsistent", getObjectLabel(property, context) },
-						 new Object[] { property },
+						 new Object[] { property, ScrPackage.Literals.PROPERTY__VALUE },
 						 context));
 			}
 			return false;