Commit Graph

10895 Commits

Author SHA1 Message Date
Pine Wu 045aeddd15 ContentProvider -> TreeExplorerNodeProvider 2016-10-21 10:03:11 -07:00
Pine Wu 0c189793a3 Handle errors caused by provider 2016-10-21 10:03:11 -07:00
Pine Wu 857411d108 Make naming consistent 2016-10-21 10:03:10 -07:00
Pine Wu 09eebc5bbb Use providerId instead of 'pineTree'! 2016-10-21 10:03:10 -07:00
Pine Wu 31afc0339e Clean up format issues 2016-10-21 10:03:10 -07:00
Pine Wu 5b1ba3cec2 Fix lint error 2016-10-21 10:03:09 -07:00
Pine Wu 0471662bf4 Add back pre-commit hygiene 2016-10-21 10:03:09 -07:00
Pine Wu 0031078bac Clean up 2016-10-21 10:03:09 -07:00
Pine Wu 88e869a924 Refactor activitybar and clean up 2016-10-21 10:03:09 -07:00
Pine Wu 13641598ac Retrieve list of registered viewletes to populate toggle custom explorer command 2016-10-21 10:03:08 -07:00
Pine Wu 2e0f8d0d21 Populate command with enabled/disabled viewlets 2016-10-21 10:03:08 -07:00
Pine Wu 940a7fafb2 Only display whitelisted viewlet icons on activity bar 2016-10-21 10:03:08 -07:00
Pine Wu 1c28702c56 Read config from global storage 2016-10-21 10:03:07 -07:00
Pine Wu 944101c2c1 Let ViewletRegistry handle batch registration and notify ActivityBarPart 2016-10-21 10:03:07 -07:00
Pine Wu 4eab0dfd93 Split explorer's extension point to a separate file 2016-10-21 10:03:07 -07:00
Pine Wu 13d5690824 Add license 2016-10-21 10:03:07 -07:00
Pine Wu 6300fbf987 Remove unused svg files 2016-10-21 10:03:06 -07:00
Pine Wu af5af7282d Accomondate new non-promise provideRootNode etc 2016-10-21 10:03:06 -07:00
Pine Wu c24338d320 Fix API 2016-10-21 10:03:06 -07:00
Pine Wu 0cc3fec4fc Placeholder for toggle external actions 2016-10-21 10:03:05 -07:00
Pine Wu b474369a9e Give default value to label, hasChildren, etc 2016-10-21 10:03:05 -07:00
Pine Wu 6bb82783db Hook up hasChildren 2016-10-21 10:03:05 -07:00
Pine Wu f659fdd33e Add actions 2016-10-21 10:03:05 -07:00
Pine Wu f660ca6aa7 Update API 2016-10-21 10:03:04 -07:00
Pine Wu 668aa6556b onClickCommand -> clickCommand 2016-10-21 10:03:04 -07:00
Pine Wu b8ce9ad768 Make nodeProvider generic and add contentProvider 2016-10-21 10:03:04 -07:00
Pine Wu 30e3be2c43 Rename treeContentProviderId to treeExplorerNodeProviderId 2016-10-21 10:03:03 -07:00
Pine Wu c7f2d3d1f1 Resolving onClickCommand and clean up
Drop the viewlet part in treeExplorerViewletService
2016-10-21 10:03:03 -07:00
Pine Wu 09703d267e Add initial onClickCommand 2016-10-21 09:59:17 -07:00
Pine Wu f366857f8b Completely remove children 2016-10-21 09:59:16 -07:00
Pine Wu 29c03eaa58 Remove children on ExtHost side and refactor 2016-10-21 09:59:16 -07:00
Pine Wu fb032eb0f8 Remove unused go outline stuff 2016-10-21 09:58:27 -07:00
Pine Wu 8e9982c1b0 isExpanded -> shouldInitiallyExpand 2016-10-21 09:58:27 -07:00
Pine Wu eced815a8d Descriptor id needs to correspond to Viewlet's 2016-10-21 09:58:26 -07:00
Pine Wu 230ac468ea Allow icon to be set via explorer contribution 2016-10-21 09:58:26 -07:00
Pine Wu 7f5e03f496 Avoid same order for multiple viewlets
Revisit after discussing Viewlet ordering
2016-10-21 09:58:26 -07:00
Pine Wu 373829a4ad Allow tree label to be set 2016-10-21 09:58:25 -07:00
Pine Wu e88e3f00ef More consistent naming and clean up random strings 2016-10-21 09:58:25 -07:00
Pine Wu ec1cc0dc9d Better naming and some doc 2016-10-21 09:58:25 -07:00
Pine Wu 154cdf9103 Keep a local tree at extHostExplorer side 2016-10-21 09:58:25 -07:00
Pine Wu f36453850f Reduce calls to refresh tree to one call 2016-10-21 09:58:24 -07:00
Pine Wu c8bbaaa507 Remove JSON as ITreeNode is all primitives 2016-10-21 09:58:24 -07:00
Pine Wu 61639c0b36 Clean up 2016-10-21 09:58:24 -07:00
Pine Wu 6f4de8b5a0 Remove isChildrenResolved from ITreeNode 2016-10-21 09:58:23 -07:00
Pine Wu 10af4d75f6 Add click behavior to Controller 2016-10-21 09:58:23 -07:00
Pine Wu 8081e2e395 async loading children 2016-10-21 09:58:23 -07:00
Pine Wu 5276b19f72 Clean up 2016-10-21 09:58:23 -07:00
Pine Wu d8c0af7f6d Hook up provider mechanism and add onClick 2016-10-21 09:58:22 -07:00
Pine Wu d03ea815b6 Make TreeViewlet render correctly 2016-10-21 09:58:22 -07:00
Pine Wu c2bdd6a853 Refactor and put id as property of TreeContentProvider 2016-10-21 09:58:21 -07:00