544545546547548549550551552553554
HookModel hm = (HookModel) ih; if (listen) { hm.addListener(listenerHook); } else { hm.removeListener(listenerHook); } if (ih.getCommandsList() != null) { for (IHookCommand ihc : ih.getCommandsList()) { enableListening(ihc, listen); }
549550551552553554555556557558559
if (listen) { hm.addListener(listenerHook); } else { hm.removeListener(listenerHook); } if (ih.getCommandsList() != null) { for (IHookCommand ihc : ih.getCommandsList()) { enableListening(ihc, listen); }