public void setAllowedCellTypes(CellType[] allowedCellTypes) { wizard.setAllowedCellTypes(allowedCellTypes); if (allowedCellTypes[0] == CellType.CODE) wizard.setType(WIZARD_TYPE.NEW_INSTANCE_CODE); }