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

Bug 337210

Summary: Need hook in RunOnServerAction to pass information to LaunchableAdapterDelegate extensions
Product: [WebTools] WTP ServerTools Reporter: Ian Tewksbury <itewksbu>
Component: wst.serverAssignee: Angel Vera <arvera>
Status: RESOLVED FIXED QA Contact: Angel Vera <arvera>
Severity: enhancement    
Priority: P3 CC: jzhang
Version: 3.2   
Target Milestone: 3.2.4   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/109036
Whiteboard:
Bug Depends on:    
Bug Blocks: 339574    
Attachments:
Description Flags
v1.0 none

Description Ian Tewksbury CLA 2011-02-15 08:56:33 EST
I have a scenario in my adopter product where I have need to run the public RunOnServerAction but pass it information such that information makes it to my implementation of the LaunchableAdapterDelegate extension point so that my LaunchableAdapterDelegate knows that it was my action that invoked the RunOnServerAction and can then decide what Launchable to return based on that information.
Comment 1 Angel Vera CLA 2011-03-09 14:37:39 EST
Created attachment 190788 [details]
v1.0

Ian, If I understand correctly. I think the attach changes (in the patch) might work for you, see if it meets your needs. 

What I am doing is allowing a way of passing properties into the RoS Wizard, such that you can define your own launchable and client even before the wizard shows up.

Using a map of value key pair, you can create your own RunOnServerAction and then pass in properties that would affect the behaviour of the wizard. I did this implementation as it allows for more extensibility in the future.
Comment 2 Ian Tewksbury CLA 2011-03-09 15:33:01 EST
Patch works great and meets my needs.
Thanks a bunch!
Comment 3 Angel Vera CLA 2011-03-09 21:52:18 EST
Changes released to 32M.
Comment 4 Angel Vera CLA 2011-04-19 10:46:09 EDT
changes committed to HEAD(3.3)
Comment 5 Angel Vera CLA 2011-04-19 15:35:43 EDT
Changes released to HEAD(3.3)
Comment 6 Eclipse Genie CLA 2017-10-11 16:36:17 EDT
New Gerrit change created: https://git.eclipse.org/r/109036