org.eclipse.swtbot.eclipse.gef.finder.matchers
Class ToolEntryLabelMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<org.eclipse.gef.palette.ToolEntry>
      extended by org.eclipse.swtbot.eclipse.gef.finder.matchers.AbstractToolEntryMatcher
          extended by org.eclipse.swtbot.eclipse.gef.finder.matchers.ToolEntryLabelMatcher
All Implemented Interfaces:
Matcher<org.eclipse.gef.palette.ToolEntry>, SelfDescribing

public class ToolEntryLabelMatcher
extends AbstractToolEntryMatcher

match the label of a tool entry

Author:
David Green

Constructor Summary
ToolEntryLabelMatcher(Pattern pattern)
           
ToolEntryLabelMatcher(String name)
           
 
Method Summary
 void describeTo(Description description)
           
protected  boolean matches(org.eclipse.gef.palette.ToolEntry toolEntry)
           
 
Methods inherited from class org.eclipse.swtbot.eclipse.gef.finder.matchers.AbstractToolEntryMatcher
description, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolEntryLabelMatcher

public ToolEntryLabelMatcher(String name)

ToolEntryLabelMatcher

public ToolEntryLabelMatcher(Pattern pattern)
Method Detail

matches

protected boolean matches(org.eclipse.gef.palette.ToolEntry toolEntry)
Specified by:
matches in class AbstractToolEntryMatcher

describeTo

public void describeTo(Description description)