Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342528 - DynamicWizard - make error handler overridable
Summary: DynamicWizard - make error handler overridable
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.ws (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 05:27 EDT by Dimitar Georgiev CLA
Modified: 2011-08-18 13:32 EDT (History)
1 user (show)

See Also:


Attachments
Patch against head - make status handler overridable (4.47 KB, patch)
2011-04-12 05:27 EDT, Dimitar Georgiev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitar Georgiev CLA 2011-04-12 05:27:52 EDT
Created attachment 193019 [details]
Patch against head - make status handler overridable

Hi Folks,

The DynamicWizard framework (org.eclipse.wst.command.env.ui) is very useful in sparing us from boilerplate code and reinventing the wheel. Therefore it is heavily utilized in one of our Eclipse-based products.

There is an error handler which is isolated from the wizard by means of a Java interface, but still it is hardcoded to EclipseErrorHandler in the DynamicWizard's init() method. However this implementation, as any concrete implementation, can prove unsuitable to some usecases.

Currently there seems to be no way to set the error handler to the extender's own implementation. Therefore I am proposing a small patch to make this possible.

I have set the severity of this bug to major, because currently we have to resort to reflection to work this limitation around. If you feel this is unreasonable, feel free to decrease.

Lastly, if the patch is accepted, I would like to ask if this could get in a maintenance build in the near future.

Thanks!

Best regards, Dimitar
Comment 1 Keith Chong CLA 2011-08-18 13:32:59 EDT
Hi Dimitar, 

Which maintenance build do you want it in?  3.3.1?