private void removePreActiveActiveStatus() { PreActiveActiveInactiveStatus status = form.cmbStatus().getValue(); form.cmbStatus().clear(); PreActiveActiveInactiveStatusCollection lookupColl = ims.core.vo.lookups.LookupHelper.getPreActiveActiveInactiveStatus(domain.getLookupService()); for (int i = 0; lookupColl != null && i < lookupColl.size(); i++) { if (isStatusActive() && lookupColl.get(i).equals(PreActiveActiveInactiveStatus.PREACTIVE)) continue; if (isStatusInactive() && (lookupColl.get(i).equals(PreActiveActiveInactiveStatus.PREACTIVE) || lookupColl.get(i).equals(PreActiveActiveInactiveStatus.ACTIVE))) continue; form.cmbStatus().newRow(lookupColl.get(i), lookupColl.get(i).toString(), lookupColl.get(i).getImage(), lookupColl.get(i).getColor()); } form.cmbStatus().setValue(status); }