title: How to set a Mask to a SWT Text to only allow Decimals
body: <p>What I want is that the user can only input decimal numbers on a Text, I don't want it to allow text input as:</p>
  
  <ol>
  <li>HELLO</li>
  <li>ABC.34</li>
  <li>34.HEY</li>
  <li>32.3333.123</li>
  </ol>
  
  <p>I have been trying using VerifyListener, but it only gives me the portion of the text that got inserted, so I end up having the text that I want to insert and the text before the insertion, tried also combining the text, but I got problems when you delete a key (backspace) and I end up having a String like 234[BACKSPACE]455.</p>
  
  <p>Is there a way to set a Mask on a Text or successfully combine VerifyEvent with the current text to obtain the "new text" before setting it to the Text?</p>