Community
Participate
Working Groups
Improve the extensibility of the Connectivity UI framework from an adopter's perspective, below are some enhancements: Additional API methods in o.e.d.connnectivity.ui.NewConnectionProfileWizard class to allow a consumer application to: * specify its own performFinish() behavior * assign the name of a profile instance without user input in the NewConnectionProfileWizardPage In the o.e.d.connectivity.ui ConnectionProfile property pages: * change ProfilePropertyPage.getConnectionProfile() from a protected to public method The inherited getElement() is already a public method. It should be fine to make this specialized element a publicly accessible one as well. * enhance the implementation of ProfileDetailsPropertyPage.setPingButtonEnabled method to ensure the button is truely enabled, if it is buried deep in composites.
Created attachment 83297 [details] Patch for the proposed enhancements
Committed the patch, which is reviewed and approved by 2 other committers: Larry Dunnell and Brian Fitzpatrick.
More enhancements to improve the CP UI extensibility are added (see the second patch file). They mainly involves extracting base class implementation into granular methods to allow adopters to extend the base class behavior: * extend the UI design of the ExportProfilesDialog * extend the ExportProfileViewAction to run without being associated with a view * run a new profile's TestConnection task without using an async Job (in ConnectionProfileDetailsPage and PingJob classes)
Created attachment 84721 [details] Additional enhancements.
Committed the additional enhancements.
Created attachment 84923 [details] Further refactoring of running TestConnection Refactors the TestConnection runnable creation method (o.e.d.connectivity.ui.wizards.ConnectionProfileDetailsPage) to use the IConnectionProfile interface as its argument, instead of the internal implementation class. Also applies similar method extraction in the UI page that edits an existing connection profile (o.e.d.connectivity.ui.wizards.ProfileDetailsPropertyPage).
Committed above patch.
Closing bugs