Package org.jboss.errai.ui.shared.chain

Examples of org.jboss.errai.ui.shared.chain.Context


    context.put(FILENAME, templateFileName);
    DomVisit.visit(element, new TemplateDomVisitor(templateFileName));
  }

  public Object getResult(URL template, String key) {
    final Context context = contextMap.get(template);
    if (context == null) {
      throw new IllegalArgumentException("no context found for template " + template);
    }
    return context.get(key);
  }
View Full Code Here


      this.templateFileName = templateFileName;
    }

    @Override
    public boolean visit(Element element) {
      final Context context = contextMap.get(templateFileName);
      context.put(ELEMENT, element);
      chain.execute(context);
      return true;
    }
View Full Code Here

TOP

Related Classes of org.jboss.errai.ui.shared.chain.Context

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.