final SWTBotView editor = new SWTBotView( editorReference );
List<Tree> findControls = new ControlFinder().findControls( editor.widget,
new ClassMatcher( Tree.class ), true );
if ( findControls.isEmpty() )
{
throw new WidgetNotFoundException( "Could not find Entry Editor tree" );
}
return new SWTBotTree( findControls.get( 0 ) );
}
}
throw new WidgetNotFoundException( "Could not find Entry Editor tree" );
}