Coverage Report - org.eclipse.swtbot.swt.finder.results.WidgetResult
 
Classes in this File Line Coverage Branch Coverage Complexity
WidgetResult
N/A
N/A
0
 
 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.results;
 12  
 
 13  
 import org.eclipse.swt.widgets.Widget;
 14  
 
 15  
 /**
 16  
  * Usage:
 17  
  * 
 18  
  * <pre>
 19  
  * new WidgetResult&lt;Shell&gt;() {
 20  
  *         public Shell run() {
 21  
  *                 return PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
 22  
  *         }
 23  
  * }
 24  
  * </pre>
 25  
  * @author Ketan Padegaonkar &lt;KetanPadegaonkar [at] gmail [dot] com&gt;
 26  
  * @version $Id$
 27  
  * @since 2.0
 28  
  */
 29  
 public interface WidgetResult<T extends Widget> extends Result<T> {
 30  
 }