Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336873 - Remove navigator dependency from fileClient.js
Summary: Remove navigator dependency from fileClient.js
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 15:54 EST by John Arthorne CLA
Modified: 2011-09-01 11:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.