blob: 71ef3e38fad5333a926bbe7116d227cc52011aee [file] [log] [blame]
/***************************************************************************************************
* Copyright (c) 2003, 2004 IBM Corporation and others. All rights reserved. This program and the
* accompanying materials are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: IBM Corporation - initial API and implementation
**************************************************************************************************/
package org.eclipse.jst.ejb.ui.internal.wizard;
import org.eclipse.jst.ejb.ui.internal.util.EJBUIMessages;
import org.eclipse.jst.j2ee.internal.ejb.archiveoperations.EJBClientComponentCreationOperation;
import org.eclipse.jst.j2ee.internal.ejb.archiveoperations.EJBClientComponentDataModel;
import org.eclipse.jst.j2ee.internal.plugin.J2EEUIPlugin;
import org.eclipse.jst.j2ee.internal.plugin.J2EEUIPluginIcons;
import org.eclipse.wst.common.frameworks.internal.operations.WTPOperation;
import org.eclipse.wst.common.frameworks.internal.operations.WTPOperationDataModel;
import org.eclipse.wst.common.frameworks.internal.ui.WTPWizard;
public class EJBClientComponentCreationWizard extends WTPWizard {
private static final String PAGE_ONE = "pageOne"; //$NON-NLS-1$
/**
* @param model
*/
public EJBClientComponentCreationWizard(WTPOperationDataModel model) {
super(model);
setWindowTitle(EJBUIMessages.getResourceString(EJBUIMessages.EJB_Client_Title));
setDefaultPageImageDescriptor(J2EEUIPlugin.getDefault().getImageDescriptor(J2EEUIPluginIcons.CLIENT_BANNER));
}
/**
*
*/
public EJBClientComponentCreationWizard() {
super();
// TODO Auto-generated constructor stub
}
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.wizard.Wizard#addPages()
*/
public void doAddPages() {
addPage(new EJBClientComponentCreationWizardPage((EJBClientComponentDataModel) model, PAGE_ONE));
}
/*
* (non-Javadoc)
*
* @see org.eclipse.wst.common.frameworks.internal.ui.wizard.WTPWizard#createDefaultModel()
*/
protected WTPOperationDataModel createDefaultModel() {
return null;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.wst.common.frameworks.internal.ui.wizard.WTPWizard#runForked()
*/
protected boolean runForked() {
return false;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.wst.common.frameworks.internal.ui.wizard.WTPWizard#createOperation()
*/
protected WTPOperation createBaseOperation() {
return new EJBClientComponentCreationOperation((EJBClientComponentDataModel) model);
}
}