Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] How to access controls on first page of new wizard ?

Hi Group

I am pasting a mail exchange (to be read from bottom
to top) between myself and Nitin (fellow member of
this group). 

There I have defined my problem in detail. I am not
sure if this is currenly feasible in eclipse. If
anyone has had any prior experience of working with
such an issue, please respond.

Regards
Hemant


-----Original Message-----
From: Hemant Jaggi
[mailto:hemant_kumar_jaggi@xxxxxxxxx] 
Sent: Monday, June 28, 2004 12:04 PM
To: Nitin Duggal
Subject: RE: [pde-dev] Adding Another option to New
Wizard doesnt work


Ya thats true. I can overwrite their functionality,
but I am able to do that in the pages that I create
(using classes that implement INewWizard and other
interfaces).

But I want to over-write the functionality of buttons
on the first page itself (i.e. not created by me). So
my problem is where do I access these buttons (which
part of code will access this). The only way I could
add something to this existing page is by altering
plugin.xml.

But plugin.xml doesnt give access to specific buttons.
It only allows to mention a class in <Wizard> which
refers to class that gets instantiated once the Next
button is clicked.

Thats my problem.

Regards
Hemant 

--- Nitin Duggal <Nitin.Duggal@xxxxxxxxxxxxxx> wrote:
> Hi Hemant,
> 
> These buttons are having their own Life Cycle.
> You can overwrite their Functionality...
> 
> You can overwrite the Finish method to call your own
> class or method
> their.
> I think this should work.
> 
> Regards,
> Nitin
> 
> -----Original Message-----
> From: Hemant Jaggi
> [mailto:hemant_kumar_jaggi@xxxxxxxxx]
> Sent: Monday, June 28, 2004 11:39 AM
> To: Nitin Duggal
> Subject: RE: [pde-dev] Adding Another option to New
> Wizard doesnt work
> 
> 
> Hi Nitin,
> 
> I am trying to create a new wizard, I have added the
> code in the plug-in, as suggested by you last time
> to
> add a new Project type.
> 
> Now I am able to work further on that. I wrote a
> class
> to be instantiated by clicking the next button. That
> works fine.
> 
> But I want to do one more thing. I want to activate
> Finish button on the first page of Wizard itself. I
> mean
> 
> New->Project->NewPro [Project1]
> 
> This all is visible at the first page of wizard
> itself. But how do I access controls on this page. I
> mean I can have access to next pages, after clicking
> next (by writing a class). But I want to click
> finish
> on the same page (First wizard page only) and then I
> want to execute some piece of code.
> 
> Have you done it before? Any idea how do I get
> access
> to controls of first page (except from Next button).
> I
> want to enable finish there and click finish and
> execute some SWT code.
> 
> Regards
> Hemant



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


Back to the top