Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337210 - Need hook in RunOnServerAction to pass information to LaunchableAdapterDelegate extensions
Summary: Need hook in RunOnServerAction to pass information to LaunchableAdapterDelega...
Status: RESOLVED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2.4   Edit
Assignee: Angel Vera CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 339574
  Show dependency tree
 
Reported: 2011-02-15 08:56 EST by Ian Tewksbury CLA
Modified: 2017-10-11 16:36 EDT (History)
1 user (show)

See Also:


Attachments
v1.0 (18.14 KB, patch)
2011-03-09 14:37 EST, Angel Vera CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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