Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Replacement Wizard and File!new menu
Replacement Wizard and File!new menu [message #202535] Thu, 26 February 2004 16:06
Eclipse UserFriend
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.
Previous Topic:MissingResourceException when using a source folder
Next Topic:New Look vs RCP vs IDE
Goto Forum:
  


Current Time: Mon May 12 14:51:37 EDT 2025

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

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

Back to the top