blob: e8f3984e2a67803e12539e5a116c80d55d7967ca [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 BSI Business Systems Integration AG.
* 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:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
package org.eclipse.scout.sdk.ui.wizard.form.fields;
import org.eclipse.jdt.core.IType;
import org.eclipse.scout.sdk.ui.extensions.AbstractFormFieldWizard;
public class FormFieldNewWizard extends AbstractFormFieldWizard {
public FormFieldNewWizard(IType declaringType) {
super();
initWizard(declaringType);
}
@Override
public void initWizard(IType declaringType) {
super.initWizard(declaringType);
addPage(new FormFieldSelectionWizardPage(declaringType));
}
@Override
public boolean needsPreviousAndNextButtons() {
return true;
}
@Override
public boolean canFinish() {
return false;
}
@Override
public void setSuperType(IType superType) {
// void
}
}