}
private boolean advance(boolean next) {
if (DEBUG_FOCUS)
System.out.println("Advance: next=" + next); //$NON-NLS-1$
IFocusSelectable current = model.getSelectedSegment();
if (current != null && current instanceof IHyperlinkSegment)
exitLink((IHyperlinkSegment) current, SWT.NULL);
IFocusSelectable newSegment = null;
boolean valid = false;
// get the next segment that can accept focus. Links
// can always accept focus but controls may not
while (!valid) {
if (!model.traverseFocusSelectableObjects(next))