This is the Naming strategy for naming controls generated by Faces for the various parts of the auto-generated user interfaces.
Пример #1
0
 ///<summary>
 /// Creates the panel Builder with the <see cref="IControlFactory"/>
 ///   to be used by the panel builder for buiding the controls.
 ///</summary>
 ///<param name="controlFactory"></param>
 public PanelBuilder(IControlFactory controlFactory)
 {
     if (controlFactory == null)
     {
         throw new ArgumentNullException("controlFactory");
     }
     ControlFactory           = controlFactory;
     this.GroupControlCreator = controlFactory.CreateTabControl;
     _controlNamingStrategy   = new ControlNamingStrategy();
 }
Пример #2
0
 ///<summary>
 /// Creates the panel Builder with the <see cref="IControlFactory"/>
 ///   to be used by the panel builder for buiding the controls.
 ///</summary>
 ///<param name="controlFactory"></param>
 public PanelBuilder(IControlFactory controlFactory)
 {
     if (controlFactory == null) throw new ArgumentNullException("controlFactory");
     ControlFactory = controlFactory;
     this.GroupControlCreator = controlFactory.CreateTabControl;
     _controlNamingStrategy = new ControlNamingStrategy();
 }