public QuickWidget findWidgetByText ( QuickWidgetType type , int windowId , String text ) { return desktopWindowManager . getQuickWidget ( type , windowId , QuickWidgetSearchType . TEXT , text ) ; }
Finds widget with the text specified in the window with the given window id .