public static class PreSetValidationListeners.PreSetVerifyListener extends Object implements org.eclipse.swt.events.VerifyListener
Constructor and Description |
---|
PreSetVerifyListener(VElement vElement,
org.eclipse.emf.ecore.EAttribute attribute)
Deprecated.
This constructor uses the deprecated singleton instances that reference the wrong view-model
context. As of the 1.22 release, use the
PreSetValidationListeners.verify(Text, EStructuralFeature) API and its
variants, and do not manage these listeners directly |
Modifier and Type | Method and Description |
---|---|
protected String |
obtainText(org.eclipse.swt.events.VerifyEvent event)
Obtain the text value of the widget.
|
void |
verifyText(org.eclipse.swt.events.VerifyEvent e) |
@Deprecated public PreSetVerifyListener(VElement vElement, org.eclipse.emf.ecore.EAttribute attribute)
PreSetValidationListeners.verify(Text, EStructuralFeature)
API and its
variants, and do not manage these listeners directlyvElement
- the VElement
any VDiagnostic
will be attached toattribute
- the EAttribute
to be validatedpublic void verifyText(org.eclipse.swt.events.VerifyEvent e)
verifyText
in interface org.eclipse.swt.events.VerifyListener
protected String obtainText(org.eclipse.swt.events.VerifyEvent event)
event
- the eventCopyright © 2019. All rights reserved.