* @throws ClassCastException Thrown if the reference is not an {@link IViewReference}.
* @deprecated This has been replaced with the <code>SWTBotView(IViewReference reference)</code> constructor. If the
* passed in reference can not be cast it will throw a {@link ClassCastException}.
*/
public SWTBotView(IWorkbenchPartReference reference) throws WidgetNotFoundException, ClassCastException {
super(findWidget(reference, new Finder(new ControlFinder(new EclipseDefaultChildrenResolver(), new EclipseDefaultParentResolver()),
new MenuFinder())));
view = reference;
}