Пример #1
0
 public NumberWidget(Widget widget)
 {
     this.widgetId = widget.widgetId;
     this.type = widget.type;
     this.label = widget.label;
     this.icon = widget.icon;
     this.widget = widget.widget;
     this.linkedPage = widget.linkedPage;
     this.item = widget.item;
     this._once = true;
     this.pathToIcon = widget.pathToIcon;
     base.widgetId = widget.widgetId;
     base.type = widget.type;
     base.label = widget.label;
     base.icon = widget.icon;
     base.widget = widget.widget;
     base.linkedPage = widget.linkedPage;
     base.item = widget.item;
     base._once = true;
 }
Пример #2
0
 public WebViewWidget(Widget widget)
 {
     this.widgetId = widget.widgetId;
     this.type = widget.type;
     this.label = widget.label;
     this.icon = widget.icon;
     //this.widget = widget.widget;
     this.linkedPage = widget.linkedPage;
     this.item = widget.item;
     this.url = widget.url;
     this._once = true;
     this.pathToIcon = widget.pathToIcon;
     base.widgetId = widget.widgetId;
     base.type = widget.type;
     base.label = widget.label;
     base.icon = widget.icon;
     //base.widget = widget.widget;
     base.linkedPage = widget.linkedPage;
     base.item = widget.item;
     base._once = true;
 }
Пример #3
0
 public SelectionWidget(Widget widget)
 {
     this.widgetId = widget.widgetId;
     this.type = widget.type;
     this.label = widget.label;
     this.icon = widget.icon;
     this.widget = widget.widget;
     this.linkedPage = widget.linkedPage;
     this.item = widget.item;
     this._once = true;
     this.mapping = widget.mapping;
     this.pathToIcon = widget.pathToIcon;
     base.widgetId = widget.widgetId;
     base.type = widget.type;
     base.label = widget.label;
     base.icon = widget.icon;
     base.widget = widget.widget;
     base.linkedPage = widget.linkedPage;
     base.item = widget.item;
     base._once = true;
 }
Пример #4
0
        //  String labelState;

        public TextWidget(Widget widget)
        {
            this.widgetId = widget.widgetId;
            this.type = widget.type;
            this.label = widget.label;
            this.icon = widget.icon;
            this.widget = widget.widget;
            this.linkedPage = widget.linkedPage;
            this.item = widget.item;
            this._once = true;
            this.guiText = widget.guiText;
            this.guiValue = widget.guiValue;
            this.pathToIcon = widget.pathToIcon;
            // this.labelState = widget.label.Substring(2);
            base.widgetId = widget.widgetId;
            base.type = widget.type;
            base.label = widget.label;
            base.icon = widget.icon;
            base.widget = widget.widget;
            base.linkedPage = widget.linkedPage;
            base.item = widget.item;
            base._once = true;
        }