ex.initCause(e);
throw ex;
}
if (getPromptKey() != null)
PromptSupport.setPrompt(RcpSupport.getMessage(getPromptKey()), textComponent);
new AsYouTypeTextComponentAdapter(textComponent, valueModel, convertEmptyStringToNull);
if(selectAllOnFocus)
{
textComponent.addFocusListener(new SelectAllFocusListener(textComponent));
}
return textComponent;