Ejemplo n.º 1
0
 public LightboxSelect(string name, string label = null)
     : base(name, label)
 {
     this.Type         = "select";
     this.options      = new List <LightboxSelectOption>();
     this.m_serverList = new ServerListHelper <LightboxSelectOption>(new Action <IEnumerable>(this._AddOptions), (IList <LightboxSelectOption>) this.options);
 }
Ejemplo n.º 2
0
 public TimelineView(string name, string y_property)
 {
     this._hiddenProperties.Add("label");
     this._hiddenProperties.Add("tabPosition");
     this._hiddenProperties.Add("y_unit");
     this._hiddenProperties.Add("view_type");
     this._hiddenProperties.Add("second_scale");
     this._hiddenProperties.Add("full_event_dy");
     this._hiddenProperties.Add("event_dy");
     this._properties.SetDefaults(new Dictionary <string, object>()
     {
         {
             "section_autoheight",
             (object)true
         },
         {
             "x_step",
             (object)1
         },
         {
             "y_step",
             (object)1
         },
         {
             "x_start",
             (object)0
         },
         {
             "x_size",
             (object)24
         },
         {
             "y_start",
             (object)0
         },
         {
             "y_size",
             (object)7
         },
         {
             "dx",
             (object)200
         },
         {
             "dy",
             (object)50
         }
     });
     this.FitEvents = true;
     this.ViewType  = "timeline";
     this.Set(nameof(name), (object)name);
     this.Label        = "Timeline";
     this.Y_Property   = y_property;
     this.TabPosition  = 280;
     this.m_serverList = new ServerListHelper <TimelineUnit>(new Action <IEnumerable>(this._AddOptions), (IList <TimelineUnit>) this._units);
 }
Ejemplo n.º 3
0
 internal UnitsView()
 {
     this.m_serverList = new ServerListHelper <Unit>(new Action <IEnumerable>(this._AddOptions), (IList <Unit>) this._units);
 }