if (element instanceof RuleElementMatchNode) {
RuleElementMatchNode rem = (RuleElementMatchNode) element;
boolean matched = rem.matched();
return owner.getImage(ExplainConstants.RULE_ELEMENT_MATCH_TYPE + matched);
} else if (element instanceof RuleElementMatchesNode) {
RuleElementMatchesNode rems = (RuleElementMatchesNode) element;
boolean matched = rems.matched();
return owner.getImage(ExplainConstants.RULE_ELEMENT_MATCHES_TYPE + matched);
} else if (element instanceof ConditionNode) {
ConditionNode rems = (ConditionNode) element;
boolean matched = rems.matched();
return owner.getImage(ExplainConstants.EVAL_CONDITION_TYPE + matched);
}
return owner.getImage("element");
}