* @see org.eclipse.jface.wizard.Wizard#performFinish()
*/
@Override
public boolean performFinish() {
EMFfitCommand command;
switch (newModelElementWizardPage.getSelectionIndex()) {
case 0: //Factor
command = new NewFactorTableFactorCommand(factorTable, newModelElementWizardPage.getName(),"2");
break;
case 1: //FactorCategory
command = new NewFactorTableCategoryCommand(factorTable, newModelElementWizardPage.getName());
break;
default:
return false;
}
command.runAsJob();
return true;
}