Initial re-implementation of DefaultText without SWTBot dependencies