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

Bug 427139

Summary: Readonly file widget: Implementing status service and error handling.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 5.0   
Target Milestone: 5.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2014-01-31 11:17:54 EST
The readonly file widget is up now but there is no status and error handling inside the widget. 
We need to pop up a status bar or something similar inside the widget.
Comment 1 libing wang CLA 2014-01-31 11:46:36 EST
Most of the file client API calls happen in the inputManager. It relies on the service registry to get the status service then call the status service API to render errors.
The widget is basically reusing the inputManager to handle the fileClient API calls. E.g. fetchChildren, read content, read meta data, etc.

We can either:
1. Register a new status service impl in the serviceRegistry and pass it into inputmanager.

Or:
2. Refactor the inputManager a little so that it optionally accept a passed in status service.

I prefer option so far.
Comment 2 libing wang CLA 2014-02-14 11:53:39 EST
Already fixed.