[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: Nested Wizard performFinish() Order
|
The comment in IWizard.performFinish does not explictly specify an order.
However given that the current wizard is the only one that is able to
abort the call it seems likely that it would always be called first.
> Hi,
>
> I am developing a newWizard (on .128). Inside I allow the user to
create
> a new Project by selecting a project creation wizard from the list of
all
> project wizards installed on the user's workbench. When the user
presses
> finish, the performFinish() method of the contained project creation
> wizard is called first and then the performFinish() of the containing
> Wizard is called. This is perfect because it allows me to determine
what
> project was created by the contained wizard and use this information in
my
> wizard's performFinish() method. The problem is that my design relies
on
> the ordering of calls to performFinish() to remain the same in future
> releases of Eclipse. Is this a safe assumption? Or not?
>
> Thanks.
>
> -Rob M.