&& (part instanceof MatchedView || part instanceof FailedView)) {
TreeSelection ts = (TreeSelection) selection;
Object firstElement = ts.getFirstElement();
if (firstElement instanceof RuleMatchNode) {
RuleMatchNode match = (RuleMatchNode) firstElement;
if (match.hasChildren()) {
inputChange(match.getChildren().get(0));
}
}
}
}