Example #1
0
 public Tk5ListMetaData(ITableSchemeEx dataXml, IInputData input, ISingleMetaData config,
                        ITableOutput tableOutput = null)
 {
     fTableScheme = config.CreateTableScheme(dataXml, input);
     SetFileDependency(fTableScheme);
     Table = new Tk5ListTableData(fTableScheme, tableOutput);
 }
Example #2
0
        private Tk5TableScheme CreateTableScheme(IInputData input, ISingleMetaData item)
        {
            ITableSchemeEx sourceScheme = item.CreateSourceScheme(input);
            Tk5TableScheme scheme       = item.CreateTableScheme(sourceScheme, input);

            fSchemes.Add(scheme);
            return(scheme);
        }
        public Tk5SingleNormalMetaData(ITableSchemeEx dataXml, IInputData input,
                                       ISingleMetaData config)
        {
            TkDebug.AssertArgumentNull(dataXml, "dataXml", null);
            TkDebug.AssertArgumentNull(input, "input", null);
            TkDebug.AssertArgumentNull(config, "config", null);

            ColumnCount  = config.ColumnCount;
            fTableScheme = config.CreateTableScheme(dataXml, input);
            Files        = FileUtil.GetFileDependecy(fTableScheme);
            Table        = new Tk5NormalTableData(fTableScheme, config, SearchControlMethod.Id, input.Style);
        }