log.trace("Finding next widget after " + SWTUtils.toString(widget) + " that is of type "
+ ClassUtils.simpleClassName(nextWidgetType()));
Class nextWidget = nextWidgetType();
if (!nextWidget.isInstance(widget)) {
List allControls = findControls(new AllMatcher());
int indexOf = allControls.indexOf(widget);
for (Iterator iterator = allControls.listIterator(indexOf); iterator.hasNext();) {
Object next = iterator.next();
if (nextWidget.isInstance(next)) {
if (log.isTraceEnabled())