Commit graph

14 commits

Author SHA1 Message Date
John Lewin
78341ef3e2 Use specialized type for missing files in Queue
- Prevent DragDrop with filter for MissingFileItem
- Allow MissingFileItem in ListView in addition to IsContentFileType
2018-02-15 14:27:01 -08:00
John Lewin
f8d9070c61 Rename GetContentStream() -> GetStream() 2018-02-12 19:26:38 -08:00
John Lewin
f440981e51 Rename ILibraryContentStream -> ILibraryAssetStream 2018-02-12 19:26:38 -08:00
John Lewin
68f7c2fa12 Collapse ILibraryReadOnlyStream into ILibraryContentStream 2018-02-12 19:26:36 -08:00
John Lewin
1337837c33 Use lower interface definition used by subtree editing context
- Issue MatterHackers/MCCentral#2815
Investigate SaveAsToQueue failure
2018-02-10 00:23:48 -08:00
John Lewin
085be24c2d Restore automatic Load in OnContentChanged, rename to ReloadContent
- Add new OnContentChanged so derived types can fire ContentChanged
- Issue MatterHackers/MCCentral#2748
Investigate ~30 failing tests due to OnContentChanged revision
2018-02-01 09:01:57 -08:00
John Lewin
c674bc329c Revise LibraryContainer Load events 2017-10-09 13:20:56 -07:00
John Lewin
593863c508 Remove Task.Run calls, move Load processing back onto callers thread 2017-10-09 10:48:32 -07:00
John Lewin
882a389495 Fix listview selection duplication bug
- Issue MatterHackers/MCCentral#2022
Investigate AddToQueueFromLibraryButtonAddsItemsToQueue regression
2017-10-01 23:17:51 -07:00
John Lewin
7c56aeb483 Implement 'Create Folder' in all containers, loop over all items
- Rename NewFolderItem -> CreateFolderItem
- Disable FileSystemContainer -> Remove delete behavior
- FileSystemContainer -> Remove now *only* opens shell window
2017-09-28 11:22:45 -07:00
John Lewin
11e3ca8a6e Revise RemoveButtonRemovesMultipleItems test
- Fix product bug with PrintQueueContainer failing to reload
- Add test helper to select ListView items
- Reuse test helper
- Iterate on .OfType instead of cast and eval
2017-06-06 18:42:44 -07:00
John Lewin
add70a2f90 Revise AddToQueueFromLibraryButtonAddsItemToQueue test
- Restore Add To Queue functionality
- Expose reusable AddAllItems() to PrintQueueCollection
- Revise base implementation of FileSystemItem to support default
  name based on filename unless set
2017-06-03 16:18:09 -07:00
John Lewin
bbbcb62123 Fix AddMultipleItemsToQueue test
- Use new library widget name format
- Fix blocking issues in PrintQueueContainer
  - Perform actual container reload via .ReloadContainer
  - Allow ReloadContainer to execute on the current thread
  - Wrap original invocation of ReloadContainer in ctor with Task.Run()
- Issue MatterHackers/MCCentral#1504
2017-05-21 16:55:33 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00