Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336873

Summary: Remove navigator dependency from fileClient.js
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-02-10 15:54:00 EST
0.2 M5

fileClient.js currently has a hard-coded dependency on the navigator:

					eclipse.util.processNavigatorParent(parentItem, jsonData);


This logic should be pushed into the "updateFunction" passed into fileClient, rather than have fileClient aware of this. This is a prerequisite to turning fileClient.js into a plugin (which won't have access to the navigator).
Comment 1 John Arthorne CLA 2011-02-11 11:28:42 EST
Done. Also renamed getChildren to fetchChildren. This reflects the async/long-running nature of the function, and helps distinguish it from the Dojo tree model getChildren method.