Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Need to launch the "Generate Java Bean Skeleton" Wizard
Need to launch the "Generate Java Bean Skeleton" Wizard [message #212862] Wed, 23 April 2008 19:19
Jason Henriksen is currently offline Jason HenriksenFriend
Messages: 231
Registered: July 2009
Senior Member
Hi All,

For creating a new Dynamic Web Project I can just launch the wizard.
This is nice because sometimes in my tooling I need the user to select a
project and if they want to start a new project I just launch the wizard.

Now I'm in the same position with generating the bean skeleton. I've
done all the tooling for my WSDL, I need to launch the skeleton wizard
and then handle some tasks when that is done.

The problem is that I can't figure out how to launch the blinking wizard!

Here's how I do it for the Dynamic Web Project:


WebProjectWizard wpw = new WebProjectWizard();
org.eclipse.wst.common.frameworks.datamodel.IDataModel dm =
dm.setProperty("IProjectCreationPropertiesNew.PROJECT_NAME", inputName);

dm.setProperty(" IJ2EEFacetProjectCreationDataModelProperties.EAR_PROJECT_NAM E ",inputName+"EAR");

final Listener l = new Listener () {
public void handleEvent (Event event) {

WizardDialog dialog = new WizardDialog(shell, wpw) {
protected void createButtonsForButtonBar(Composite parent) {
Button finishButton = getButton(IDialogConstants.FINISH_ID);
catch(Exception e){



Previous Topic:Dynamic web projects
Next Topic:Difficulties with StructuredTextEditor in a MultiPageEditorPart
Goto Forum:

Current Time: Wed Oct 07 04:20:49 GMT 2015

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

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