{
plugin = ApplicationBase.getInstance();
}
// First, fire the key event bottom up starting from the current plugin
KeySequenceEvent event = new KeySequenceEvent(plugin, sequence, JaspiraEvent.TYPE_BOTTOM_UP);
plugin.fireEvent(event);
if (!event.isConsumed())
{
// None cared, broadcast the event application-wide
event = new KeySequenceEvent(plugin, sequence, JaspiraEvent.TYPE_FLOOD);
plugin.fireEvent(event);
}
if (currentTree.hasChildren())
{