Coverage Report - org.eclipse.swtbot.swt.finder.resolvers.IChildrenResolver
 
Classes in this File Line Coverage Branch Coverage Complexity
IChildrenResolver
N/A
N/A
1
 
 1  
 /*******************************************************************************
 2  
  * Copyright (c) 2008 Ketan Padegaonkar and others.
 3  
  * All rights reserved. This program and the accompanying materials
 4  
  * are made available under the terms of the Eclipse Public License v1.0
 5  
  * which accompanies this distribution, and is available at
 6  
  * http://www.eclipse.org/legal/epl-v10.html
 7  
  *
 8  
  * Contributors:
 9  
  *     Ketan Padegaonkar - initial API and implementation
 10  
  *******************************************************************************/
 11  
 package org.eclipse.swtbot.swt.finder.resolvers;
 12  
 
 13  
 import java.util.List;
 14  
 
 15  
 import org.eclipse.swt.widgets.Widget;
 16  
 
 17  
 /**
 18  
  * @author Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
 19  
  * @version $Id$
 20  
  */
 21  
 public interface IChildrenResolver extends IResolvable {
 22  
 
 23  
         /**
 24  
          * @param w the widget
 25  
          * @return the children of the specified widget
 26  
          */
 27  
         public List<Widget> getChildren(Widget w);
 28  
 
 29  
         /**
 30  
          * @param w the widget
 31  
          * @return <code>true</code> if the resolver can provide children of the specified widget, <code>false</code>
 32  
          *         otherwise.
 33  
          */
 34  
         public boolean hasChildren(Widget w);
 35  
 
 36  
 }