Example #1
0
 internal ListSetup(ListConfig list, CollectionSetup collection)
 {
     PageSize                     = list.PageSize;
     SearchBarVisible             = list.SearchBarVisible;
     ReorderingAllowed            = list.ReorderingAllowed;
     ListType                     = list.ListEditorType;
     EmptyVariantColumnVisibility = list.EmptyVariantColumnVisibility;
     Buttons = list.Buttons.ToList(button => new ButtonSetup(button, collection.EntityVariant, collection.SubEntityVariants));
     Panes   = list.Panes.ToList(pane => new PaneSetup(pane));
 }
Example #2
0
 internal NodeSetup(NodeConfig node, CollectionSetup collection)
 {
     BaseType = node.BaseType;
     Buttons  = node.Buttons.ToList(button => new ButtonSetup(button, collection.EntityVariant, collection.SubEntityVariants));
     Panes    = node.Panes.ToList(pane => new PaneSetup(pane));
 }