Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 246900 - Display a configuration string in the service model configuration
Summary: Display a configuration string in the service model configuration
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 2.1M2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.1M3   Edit
Assignee: Vivian Kong CLA
QA Contact: Greg Watson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 13:54 EDT by Chris Recoskie CLA
Modified: 2008-09-18 11:51 EDT (History)
0 users

See Also:


Attachments
proposed patch (30.09 KB, patch)
2008-09-17 13:33 EDT, Vivian Kong CLA
no flags Details | Diff
updated patch (36.48 KB, patch)
2008-09-17 15:31 EDT, Vivian Kong CLA
recoskie: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Recoskie CLA 2008-09-10 13:54:38 EDT
Right now it's impossible to know whether or not a given service has been configured, and if so, what the provider-specific details of that configuration are.

I propose that we add a getConfigurationString()  method to IServiceProvider to facilitate this.
Comment 1 Vivian Kong CLA 2008-09-17 13:33:58 EDT
Created attachment 112796 [details]
proposed patch

Patch fixes bug 247580 as well.
Comment 2 Vivian Kong CLA 2008-09-17 15:31:11 EDT
Created attachment 112808 [details]
updated patch

Updated patch to include fix for bug 247580 and bug 247578.
Comment 3 Chris Recoskie CLA 2008-09-18 11:09:40 EDT
Applied to HEAD, with some changes.

It was more or less impossible to read the configuration string as a) the column was too small, and b) the string was too long.  I made some changes to alleviate that.

The part of the patch that tries to make the HostSelectionDialog and RemoteServicesProviderSelection dialog show prior selections when they are launched does not seem to work.  For starters, if you have not yet hit ok in the wizard and allowed the ServiceModelWizardPageOperation to run, then the provider will not actually be configured, so you are going to get back null for everything.  Secondly, it doesn't seem to work, for whatever reason, even if I do it later after the project is fully created and configured.