public ComponentView createComponentView ( Container container , String key , String description ) { assertThatTheContainerIsNotNull ( container ) ; assertThatTheViewKeyIsSpecifiedAndUnique ( key ) ; ComponentView view = new ComponentView ( container , key , description ) ; view . setViewSet ( this ) ; componentViews . add ( view ) ; return view ; }
Creates a component view where the scope of the view is the specified container .