The branch is pushed. It is not in features because I don't want it building and possibly failing. Its just for looking. I'll dispose of the branch once things are integrated.
‹peter On 12/18/17, 5:31 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote: >Hi Peter, > >It looks pretty exciting! This new stuff may help with some sorting. Push >the branch and maybe I will look if not I will definitely do this in the >new year. > >Thank you and wish you all the best! >Piotr > > > >2017-12-18 23:24 GMT+01:00 Peter Ent <p...@adobe.com.invalid>: > >> Piotr (and anyone else interested): >> >> Adobe has its winter break next week but I am leaving earlier (tomorrow) >> and will be back working on the project in January. >> >> I have created a temporary branch, CollectionData, with my work >> in-progress. While this branch is incomplete, you might be interested in >> looking into it. >> >> Here's a summary: >> >> I created ICollectionView (Collections project), an interface that >>allows >> for inserting, removing items from a collection. ArrayList implements >>it. >> The idea is that you might want to create a collection that's a subset >>or a >> change to data without destroying or modifying the original data. For >> example, maybe you want to filter the original data or sort it. >> >> I created TreeData (Collections project), which implements >> ICollectionView. TreeData takes in HierarchicalData and converts it to a >> FlattenedList (extends ArrayList). TreeData implements ICollectionView >>via >> its internal flattened list. >> >> I created SingleSelectionCollectionViewModel (Basic project) that mimics >> ArrayListSelectionModel, but assumes its dataProvider is >>ICollectionView. >> >> I created DataItemRendererFactoryForCollectionView (Basic project) which >> assumes the dataProvider from the model is ICollectionView. This is >> identical to DynamicItemsRendererFactoryForArrayList so perhaps it will >> replace that class. >> >> I changed TreeModel is use TreeData as its dataProvider property. I >> changed Tree to accept TreeData as its dataProvider (passes it to its >> model). >> >> You can run a List using SingleSelectionCollectionModel and >> DataItemRendererFactoryForCollectionView. The Tree works as does >>DataGrid. >> >> I'm in the middle of getting TreeGrid to work with these new classes. >> >> Have a wonderful New Year. >> >> Regards, >> Peter Ent >> Adobe Systems/Apache Royale Project >> > > > >-- > >Piotr Zarzycki > >Patreon: >*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr >eon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C6e193cddcd4747ce >314808d54667165f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636492330935 >034617&sdata=LcX1I6EQjhOnm6zSeNR7aH3169wjCVw8X6W2MpMqKso%3D&reserved=0 ><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr >eon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C6e193cddcd4747ce >314808d54667165f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636492330935 >034617&sdata=LcX1I6EQjhOnm6zSeNR7aH3169wjCVw8X6W2MpMqKso%3D&reserved=0>*