Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 14:59 Go to next message
Michael Aro is currently offline Michael Aro
Messages: 4
Registered: May 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] Tue, 26 June 2012 20:34 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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] Tue, 26 June 2012 20:50 Go to previous messageGo to next message
Michael Aro is currently offline Michael Aro
Messages: 4
Registered: May 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] Tue, 26 June 2012 21:08 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
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: Wed Jul 23 14:13:04 EDT 2014

Powered by FUDForum. Page generated in 0.04867 seconds