Bug 170923 - [plan][api] Improve UI/Non-UI splitting in RSE
Summary: [plan][api] Improve UI/Non-UI splitting in RSE
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api, plan
Depends on: 168870 168973 168975 168977 170920 180519 183824 186523 186525 186773 189123
Blocks:
  Show dependency tree
 
Reported: 2007-01-18 10:25 EST by Martin Oberhuber CLA
Modified: 2008-08-13 13:19 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 Martin Oberhuber CLA 2007-01-18 10:25:25 EST
RSE code should be further refactored to split UI from non-UI parts. A Headless Eclipse should be able to perform Launches through RSE-provided services / subsystems. This means providing non-UI (headless) APIs for:
- Accessing the SystemRegistry, getting IHost objects
- Getting ISubSystem, ISubSystemConfiguration objects as well as services
- Using IFileServiceSubsystem as well as other ISubSystem and IService APIs
  for actions like upload, download, run-shell-command during a headless Launch

Action items include:
* Generalize and simplify the handling of SWT "Shell" in RSE
* Some more stuff should be migrated from UI to Core; do a little bit at a time
  - Events to go to Core
  - After that, ISubSystem should be able to go to Core
* Define an ICredentialProvider to be used by IConnectorService for password
  queries -- after that, IConnectorService should be able to go to Core

See how much we can get done with (4 person weeks) effort - DaveD starting, Kushal & DaveM, picking the most important items
Comment 1 Martin Oberhuber CLA 2007-01-18 10:25:57 EST
Dave - did I get you right that you wanted much of this done by M5?
Comment 2 Martin Oberhuber CLA 2007-01-18 10:48:40 EST
Some existing [api] bugs for this:
bug 168870 - rename the core package in UI
bug 168973 - move filters to core
bug 168975 - move event handling to core
bug 168977 - move bulk of IConnectorService to core
Comment 3 David Dykstal CLA 2007-01-19 16:26:07 EST
M5 is certainly the goal for the 4 defects listed. It may not be possible to satisfy the entire use case that was outlined in the committer call by then however.
Comment 4 David Dykstal CLA 2007-03-02 14:03:49 EST
added bug 176211 to the dependencies
Comment 5 Martin Oberhuber CLA 2007-03-13 10:45:32 EDT
org.eclipse.rse.ui/plugin.xml/systemTypes extension also needs to go to core, in order to make sure it is available in a headless scenario.
Comment 6 David Dykstal CLA 2007-05-18 22:14:18 EDT
Martin --

All the dependencies for this bug appear to be finished for this release. Bug 182771 and bug 176211 are deferred according to our committer meeting. We should probably have a continuation item for this for the next release as another bug. I recommend removing the last dependency and closing this bug as FIXED and opening a new one with the leftover dependencies. Sound OK?
Comment 7 Martin Oberhuber CLA 2007-05-21 13:17:41 EDT
Closing this bug for TM 2.0 as per Dave's comment. We have achieved a lot of improved UI/Non-UI splitting as per the list of dependent bugs. Full support for headless Launches must be deferred to a later release.

Work on the remaining issues will be tracked via bug #176211, bug #183771 and additional bugs to be created when planning the next TM release.
Comment 8 Martin Oberhuber CLA 2008-01-21 08:43:28 EST
Bug 215820 is about moving SystemRegistry implementation into non-UI.
Comment 9 Martin Oberhuber CLA 2008-08-13 13:19:20 EDT
[target cleanup] 2.0 RC1 was the original target milestone for this bug