List of usage examples for org.eclipse.jface.internal.databinding.swt SWTVetoableValueDecorator getWidget
@Override
public Widget getWidget()
From source file:org.switchyard.tools.ui.editor.impl.DomainPropertyTextValueChangeListener.java
License:Open Source License
@Override public void handleValueChange(ValueChangeEvent e) { if (e.diff != null && !e.diff.getOldValue().equals(e.diff.getNewValue())) { SWTVetoableValueDecorator decorator = (SWTVetoableValueDecorator) e.getSource(); Text textControl = (Text) decorator.getWidget(); updateField(textControl);/* ww w . ja v a2 s . c om*/ ErrorUtils.showErrorMessage(null); } }