diff --git a/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/internal/properties/ElementWithURIPropertySection.java b/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/internal/properties/ElementWithURIPropertySection.java index 889cd559212e9cf18966a09ce54b81cbec542f7b..1d66c789afcacaadd88fc8066f8d3f4dc637849e 100644 --- a/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/internal/properties/ElementWithURIPropertySection.java +++ b/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/internal/properties/ElementWithURIPropertySection.java @@ -17,8 +17,10 @@ $Id: IdLabeledPropertySection.java 5274 2012-08-02 07:54:11Z mou $ +--------------------------------------------------------------------------*/ package org.fortiss.tooling.kernel.ui.internal.properties; +import static org.eclipse.jface.databinding.swt.SWTObservables.observeText; +import static org.fortiss.tooling.kernel.ui.util.ObservableUtils.observeValue; + import org.eclipse.core.databinding.observable.value.IObservableValue; -import org.eclipse.jface.databinding.swt.SWTObservables; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Text; @@ -26,7 +28,6 @@ import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; import org.fortiss.tooling.kernel.model.FortissToolingKernelPackage; import org.fortiss.tooling.kernel.model.IElementWithURI; import org.fortiss.tooling.kernel.ui.extension.base.PropertySectionBase; -import org.fortiss.tooling.kernel.ui.util.ObservableUtils; /** * Property section for {@link IElementWithURI}s. @@ -34,7 +35,7 @@ import org.fortiss.tooling.kernel.ui.util.ObservableUtils; * @author ratiu * @author $Author: ratiu $ * @version $Rev: 5274 $ - * @ConQAT.Rating GREEN Hash: E6A4B98E0681984D8DCCBFFBF99412CA + * @ConQAT.Rating YELLOW Hash: 7A6E548157B1AFE6873C0FDA47A8C475 */ public final class ElementWithURIPropertySection extends PropertySectionBase { @@ -66,9 +67,8 @@ public final class ElementWithURIPropertySection extends PropertySectionBase { super.refresh(); IObservableValue modelObservable = - ObservableUtils.observeValue(elementWithURI, + observeValue(elementWithURI, FortissToolingKernelPackage.Literals.IELEMENT_WITH_URI__URI); - dbc.bindValue(SWTObservables.observeText(uriText, SWT.FocusOut), modelObservable, null, - null); + dbc.bindValue(observeText(uriText, SWT.FocusOut), modelObservable, null, null); } }