if (currentRequirement != null && currentRequirement instanceof FilterOutcome) {
FilterOutcome filterOutcome = (FilterOutcome) currentRequirement;
// put an icon on the currently configured requirement
try {
FilterJob filterJob = fjb.toFilterJob();
if (filterOutcome.getFilterJob().equals(filterJob)) {
if (filterOutcome.getCategory().equals(fjbDescriptor.getOutcomeCategoryByName(category))) {
filterMenuItem.setIcon(mappedFilterIcon);
categoryMenuItem.setIcon(mappedFilterIcon);