* @throws WidgetNotFoundException if the views are not found.
*/
@SuppressWarnings("unchecked")
public List<SWTBotView> views() throws WidgetNotFoundException {
Matcher matcher = allOf(instanceOf(IViewReference.class));
WaitForPart waitForView = waitForPart(matcher);
waitUntilWidgetAppears(waitForView);
List<IViewReference> editors = waitForView.all();
List<SWTBotView> result = new ArrayList<SWTBotView>(editors.size());
for (IWorkbenchPartReference editor : editors) {
result.add(new SWTBotView((IViewReference) editor, this));
}