| Summary: | HTTPLaunchable should accept a provider and not a URL | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Angel Vera <arvera> | ||||
| Component: | wst.server | Assignee: | Angel Vera <arvera> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Angel Vera <arvera> | ||||
| Severity: | normal | ||||||
| Priority: | P2 | ||||||
| Version: | 3.1 | ||||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| See Also: |
https://git.eclipse.org/r/109011 https://git.eclipse.org/r/109012 https://git.eclipse.org/r/109837 https://git.eclipse.org/c/servertools/webtools.servertools.git/commit/?id=935e0f1f64042a72a4a45e014c3130fe9da383a5 |
||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Angel Vera
Created attachment 186299 [details]
v1.0
With the new code adopters do not need to change their current code, but it would be preferable that they do. To delay the calculation of the URL to be launched in the browser, adopters would need to create a class that implements IURLProvider2, create a constructor that accept the required objects (e.g. Server and IModuleArtifact) and then provide an implementation to getLaunchableURL() so that it can correctly open a browser in the correct URL. We didn't want to make IURLProvider2 context specific to the Run On Server scenario in case we can use the interface in a different place. Changes committed to 32M changes released to 32M changes committed to HEAD changes released to HEAD New Gerrit change created: https://git.eclipse.org/r/109011 New Gerrit change created: https://git.eclipse.org/r/109012 New Gerrit change created: https://git.eclipse.org/r/109837 Gerrit change https://git.eclipse.org/r/109837 was merged to [master]. Commit: http://git.eclipse.org/c/servertools/webtools.servertools.git/commit/?id=935e0f1f64042a72a4a45e014c3130fe9da383a5 |