org.eclipse.swtbot.swt.finder.resolvers
Class NullResolver
java.lang.Object
org.eclipse.swtbot.swt.finder.resolvers.NullResolver
- All Implemented Interfaces:
- IChildrenResolver, IParentResolver, IResolvable
public class NullResolver
- extends Object
- implements IChildrenResolver, IParentResolver
- Version:
- $Id$
- Author:
- Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullResolver
public NullResolver()
canResolve
public boolean canResolve(Widget w)
- Specified by:
canResolve
in interface IResolvable
- Parameters:
w
- the widget
- Returns:
true
if this widget can resolve the widget, false
otherwise
getChildren
public List getChildren(Widget w)
- Specified by:
getChildren
in interface IChildrenResolver
- Parameters:
w
- the widget
- Returns:
- the children of the specified widget
getParent
public Widget getParent(Widget w)
- Specified by:
getParent
in interface IParentResolver
- Parameters:
w
- the widget
- Returns:
- the children of the specified widget
getResolvableClasses
public Class[] getResolvableClasses()
- Specified by:
getResolvableClasses
in interface IResolvable
- Returns:
- the list of classes that this resolver can resolve
hasChildren
public boolean hasChildren(Widget w)
- Specified by:
hasChildren
in interface IChildrenResolver
- Parameters:
w
- the widget
- Returns:
true
if the resolver can provide children of the specified widget, false
otherwise.
hasParent
public boolean hasParent(Widget w)
- Specified by:
hasParent
in interface IParentResolver
- Parameters:
w
- the widget
- Returns:
true
if the resolver can provide children of the specified widget, false
otherwise.