public void startAllPlugins() { PCGenMessageHandler dispatcher = msgHandlerMgr.getPostbox(); for (InteractivePlugin plugin : pluginMap.keySet()) { if (pluginMap.get(plugin)) { plugin.start(dispatcher); msgHandlerMgr.addMember(plugin); } } }
/** @return the postbox used to distribute messages. */ public PCGenMessageHandler getPostbox() { return msgHandlerMgr.getPostbox(); }