Coverage Report - org.eclipse.swtbot.eclipse.finder.matchers.WidgetMatcherFactory
 
Classes in this File Line Coverage Branch Coverage Complexity
WidgetMatcherFactory
22%
2/9
N/A
1
 
 1  
 // Generated source. DO NOT MODIFY.
 2  
 // To add new new methods, please see README file in the generator plugin.
 3  
 
 4  
 package org.eclipse.swtbot.eclipse.finder.matchers;
 5  
 
 6  0
 public abstract class WidgetMatcherFactory extends org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory {
 7  
 
 8  
   /**
 9  
    * Matches a workbench part (view/editor) with the specfied name.
 10  
    * 
 11  
    * @param text the label of the part.
 12  
    * @return a matcher.
 13  
    * @since 2.0
 14  
    */
 15  
   public static <T extends org.eclipse.ui.IWorkbenchPartReference> org.hamcrest.Matcher<T> withPartName(java.lang.String text) {
 16  35
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPartName.withPartName(text);
 17  
   }
 18  
 
 19  
   /**
 20  
    * Matches a workbench part (view/editor) with the specified name.
 21  
    * 
 22  
    * @param nameMatcher the part name matcher.
 23  
    * @return a matcher.
 24  
    * @since 2.0
 25  
    */
 26  
   public static <T extends org.eclipse.ui.IWorkbenchPartReference> org.hamcrest.Matcher<T> withPartName(org.hamcrest.Matcher<java.lang.String> nameMatcher) {
 27  0
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPartName.withPartName(nameMatcher);
 28  
   }
 29  
 
 30  
   /**
 31  
    * Matches a workbench part (view/editor) with the specified id.
 32  
    * 
 33  
    * @param id the id of the part.
 34  
    * @return a matcher.
 35  
    * @since 2.0
 36  
    */
 37  
   public static <T extends org.eclipse.ui.IWorkbenchPartReference> org.hamcrest.Matcher<T> withPartId(java.lang.String id) {
 38  0
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPartId.withPartId(id);
 39  
   }
 40  
 
 41  
   /**
 42  
    * Matches a workbench part (view/editor) with the specified id.
 43  
    * 
 44  
    * @param idMatcher the part id matcher.
 45  
    * @return a matcher.
 46  
    * @since 2.0
 47  
    */
 48  
   public static <T extends org.eclipse.ui.IWorkbenchPartReference> org.hamcrest.Matcher<T> withPartId(org.hamcrest.Matcher<java.lang.String> idMatcher) {
 49  0
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPartId.withPartId(idMatcher);
 50  
   }
 51  
 
 52  
   /**
 53  
    * Matches a perspective with the specified id.
 54  
    * 
 55  
    * @param id the id of the perspective.
 56  
    * @return a matcher.
 57  
    * @since 2.0
 58  
    */
 59  
   public static org.hamcrest.Matcher withPerspectiveId(java.lang.String id) {
 60  2
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPerspectiveId.withPerspectiveId(id);
 61  
   }
 62  
 
 63  
   /**
 64  
    * Matches a perspective with the specified id.
 65  
    * 
 66  
    * @param idMatcher the matcher that matches the id of the perspective.
 67  
    * @return a matcher.
 68  
    * @since 2.0
 69  
    */
 70  
   public static org.hamcrest.Matcher withPerspectiveId(org.hamcrest.Matcher<java.lang.String> idMatcher) {
 71  0
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPerspectiveId.withPerspectiveId(idMatcher);
 72  
   }
 73  
 
 74  
   /**
 75  
    * Matches a perspective with the specified label.
 76  
    * 
 77  
    * @param label the label of the perspective.
 78  
    * @return a matcher.
 79  
    * @since 2.0
 80  
    */
 81  
   public static org.hamcrest.Matcher withPerspectiveLabel(java.lang.String label) {
 82  0
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPerspectiveLabel.withPerspectiveLabel(label);
 83  
   }
 84  
 
 85  
   /**
 86  
    * Matches a perspective with the specified label.
 87  
    * 
 88  
    * @param labelMatcher the matcher that matches the perspective label.
 89  
    * @return a matcher.
 90  
    * @since 2.0
 91  
    */
 92  
   public static org.hamcrest.Matcher withPerspectiveLabel(org.hamcrest.Matcher<java.lang.String> labelMatcher) {
 93  0
     return org.eclipse.swtbot.eclipse.finder.matchers.WithPerspectiveLabel.withPerspectiveLabel(labelMatcher);
 94  
   }
 95  
 
 96  
 }