org.jboss.errai.ui.nav.rebind
Class NavigationGraphGenerator
java.lang.Object
com.google.gwt.core.ext.Generator
org.jboss.errai.config.rebind.AbstractAsyncGenerator
org.jboss.errai.ui.nav.rebind.NavigationGraphGenerator
- All Implemented Interfaces:
- AsyncCodeGenerator
public class NavigationGraphGenerator
- extends AbstractAsyncGenerator
Generates the GeneratedNavigationGraph class based on @Page
annotations.
- Author:
- Jonathan Fuerth
Methods inherited from class com.google.gwt.core.ext.Generator |
escape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationGraphGenerator
public NavigationGraphGenerator()
generate
public String generate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
String typeName)
throws com.google.gwt.core.ext.UnableToCompleteException
- Specified by:
generate
in class com.google.gwt.core.ext.Generator
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
generate
protected String generate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context)
- Description copied from class:
AbstractAsyncGenerator
- Called by
AbstractAsyncGenerator.generateAsync(TreeLogger, GeneratorContext)
to carry out the actual code
generation.
- Specified by:
generate
in class AbstractAsyncGenerator
context
- the generator context to use.
- Returns:
- the generated code.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.