org.eclipse.swtbot.swt.finder.utils.internal
Class SiblingFinder

java.lang.Object
  extended by org.eclipse.swtbot.swt.finder.utils.internal.SiblingFinder
All Implemented Interfaces:
ArrayResult<Widget>

public final class SiblingFinder
extends Object
implements ArrayResult<Widget>

Finds the siblings of a widget.

Author:
Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
SiblingFinder(Widget w)
          Constructs the sibling finder with the given widget.
 
Method Summary
 Widget[] run()
          Runs the process of finding the siblings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiblingFinder

public SiblingFinder(Widget w)
Constructs the sibling finder with the given widget.

Parameters:
w - the widget
Method Detail

run

public Widget[] run()
Runs the process of finding the siblings.

Specified by:
run in interface ArrayResult<Widget>
Returns:
The object found.
See Also:
ArrayResult.run()