Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to override the function for the "Finish" button on a Data Source Wizard Page?(I want to override the code behind the "Finish" button on a custom data source wizard page. This is needed for authenticating to a server.)
How to override the function for the "Finish" button on a Data Source Wizard Page? [message #891991] Tue, 26 June 2012 18:59 Go to next message
Michael Aro is currently offline Michael AroFriend
Messages: 4
Registered: June 2012
Junior Member
I have been trying to override the code behind the "Finish" button on a custom data source wizard like XMLSelectionWizardPage in eclipse in other to authenticate to a server before continuing. This is necessary to be able to pull xml data.
Re: How to override the function for the "Finish" button on a Data Source Wizard P [message #892046 is a reply to message #891991] Wed, 27 June 2012 00:34 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Michael,

Do they need to only authenticate at design time? If you put this on
the finish button how will it be handled at run time?

Jason

On 6/26/2012 2:59 PM, Michael Aro wrote:
> I have been trying to override the code behind the "Finish" button on a
> custom data source wizard like XMLSelectionWizardPage in eclipse in
> other to authenticate to a server before continuing. This is necessary
> to be able to pull xml data.
Re: How to override the function for the "Finish" button on a Data Source Wizard P [message #892048 is a reply to message #892046] Wed, 27 June 2012 00:50 Go to previous messageGo to next message
Michael Aro is currently offline Michael AroFriend
Messages: 4
Registered: June 2012
Junior Member
Jason,

I have changed the design. Previously, I wanted to add some code to the 'Finish' button at design time to make sure that the Eclipse client authenticate with the server given URL, username and password. But I am not so strict about it anymore as one could have a bad data source. Therefore, using the 'Test Connection' button to verify will be enough at design time. I can then set the login information as custom properties which I can get back in a Connection object that implements the IConnection interface. With this, I can authenticate at run-time.

Thanks for the reply.

Michael.
Re: How to override the function for the "Finish" button on a Data Source [message #892051 is a reply to message #892048] Wed, 27 June 2012 01:08 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Michael

Thanks for the update.

Jason

On 6/26/2012 8:50 PM, Michael Aro wrote:
> Jason,
>
> I have changed the design. Previously, I wanted to add some code to the
> 'Finish' button at design time to make sure that the Eclipse client
> authenticate with the server given URL, username and password. But I am
> not so strict about it anymore as one could have a bad data source.
> Therefore, using the 'Test Connection' button to verify will be enough
> at design time. I can then set the login information as custom
> properties which I can get back in a Connection object that implements
> the IConnection interface. With this, I can authenticate at run-time.
> Thanks for the reply.
>
> Michael.
Previous Topic:BIRT chart engine issue
Next Topic:bigint problem
Goto Forum:
  


Current Time: Tue Apr 16 08:43:57 GMT 2024

Powered by FUDForum. Page generated in 0.35968 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top