if (selection instanceof CompoundFilterCondition) {
CompoundFilterCondition condition = (CompoundFilterCondition) selection;
filterManager.createFilterCondition(condition, settingsForm);
} else if (selection instanceof SimpleFilterCondition) {
SimpleFilterCondition condition = (SimpleFilterCondition) selection;
filterManager.joinFilterCondition(condition, settingsForm);
}
}
@Override
public void update(AnActionEvent e) {