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

Bug 338973

Summary: Switch editor to using file service
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: bokowski, susan
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-03-04 15:26:53 EST
The orion file service is now contributed by a plugin, which allows files to be served from a different server than the one providing the orion tools. To take advantage of this, the orion editor needs to use the file service to get/set editor contents.

As part of this, I propose axing the "ISaveable" service. This service doesn't represent a saveable entity like it does in Eclipse desktop. Instead it is a universal "saver" service that knows how to save arbitrary contents to arbitrary URLs. This really needs to be paired with the service that obtains contents for the editor. In the future we may have a need for a "saveable" abstract for things like writing subsets of files, writing objects that cross multiple files, etc. However, the current incarnation of the service doesn't address any of these needs.
Comment 1 John Arthorne CLA 2011-03-04 17:28:35 EST
Fix released.