MethodBinding binding = null;
if (event instanceof NodeExpandedEvent) {
binding = eventsProducer.getChangeExpandListener();
if (event instanceof AjaxExpandedEvent) {
new AjaxEvent(event.getComponent()).queue();
}
} else if (event instanceof AjaxSelectedEvent) {
if (eventsProducer.hasAjaxSubmitSelection()) {
binding = eventsProducer.getNodeSelectListener();
new AjaxEvent(event.getComponent()).queue();
}
} else if (event instanceof NodeSelectedEvent) {
binding = eventsProducer.getNodeSelectListener();
} else if (event instanceof DropEvent) {
if (((DropEvent) event).isValid()) {