Replacement Wizard and File!new menu [message #202535] |
Thu, 26 February 2004 16:06 |
Eclipse User |
|
|
|
Originally posted by: paull.NOSPAMcodetelligence.com
I'm trying to integrate our own HTML based Wizard technology into Eclipse
(M7). This generic Wizard code should co-exist with the standard Eclipse
wizards.The code is package in a number of plugins. The first location I
need to use it is in generating a new file (for one of our other plugins).
The logical menu place for this is in File!New!Other. I can add a small
wrapper wizard that implements INewWizard around our wizard. Then I can
select it from the File!New menu and get it launched appropriately in its
own window. It is launched in its own window because we don't want the
WizardDialogs buttons displayed. When the user selects Finish on this Wizard
there does not seem to be anyway for my INewWizard to indicate to the
WizardDialog that Finish has been done and it should go away. This then
leaves the original WizardDialog page showing and requiring the user to
select Finish or Cancel again. Not pretty.
Deriving a new WizardDialog isn't an option because this is started up by
the IDE - I only get to specify the INewWizard not the WizardDialog.
The easiest solution would be to put my own action in the File!New menu.
Unfortunately there is no support for adding at this level of the menu
system. You can add after file/new_ext but not in file/new. I don't
understand why the workbench needs to protect this section of the menu
structure. In this case, it doesn't know better.
Anyone got any suggestions on where to go on this?
Paul
Codetelligence, Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.25342 seconds