Package org.eclipse.ecf.provider.irc.bot.handler

Examples of org.eclipse.ecf.provider.irc.bot.handler.ICommandHandler


    if (reg != null) {
      IConfigurationElement[] elements = reg.getConfigurationElementsFor("org.eclipse.ecf.provider.irc.bot.commandHandler");
      for(int i = 0; i < elements.length; i++) {
        String id = elements[i].getAttribute("botId");
        String expression = elements[i].getAttribute("expression");
        ICommandHandler handler = (ICommandHandler) elements[i].createExecutableExtension("class");
        List c = (List) commands.get(id);
        if(c == null) {
          c = new ArrayList();
          c.add(new CommandEntry(expression, handler));
          commands.put(id, c);
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.provider.irc.bot.handler.ICommandHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.