This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There is missing method outside JavaEE area to invoke wizard for new server creation. Attached patch contains also usage within coherence module. Anyway this method should be valuable for any non-JavaEE server, I think.
Created attachment 114269 [details] api change including usage - v1
Please review.
PH01: The name showCreateNewServerCustomizer seems to be overcomplicated. And it is not really a customizer. Why not just showWizard(), showServerInstanceWizard() or showAddServerInstanceWizard(). PH02: Assert message "Can lead to invocation of the UI dialog outside EDT" contradicts the assert. "Invocation of the UI dialog outside of the EDT" is clean and simple.
Created attachment 114270 [details] api change including usage - v2 (In reply to comment #3) > PH01: The name showCreateNewServerCustomizer seems to be overcomplicated. And > it is not really a customizer. Why not just showWizard(), > showServerInstanceWizard() or showAddServerInstanceWizard(). Right, badly chosen name before. :/ > PH02: Assert message "Can lead to invocation of the UI dialog outside EDT" > contradicts the assert. "Invocation of the UI dialog outside of the EDT" is > clean and simple. Fixed.
Thanks for the review. I plan to integrate the change today COB.
Integrated in web-main #243ec3bf85a3.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/243ec3bf85a3 User: Martin Fousek <marfous@netbeans.org> Log: #206479 - API method for invoking AddServerInstanceWizard