org.drools.guvnor.gwtutil
Class AssetEditorFactoryGenerator

java.lang.Object
  extended by com.google.gwt.core.ext.Generator
      extended by org.drools.guvnor.gwtutil.AssetEditorFactoryGenerator

public class AssetEditorFactoryGenerator
extends com.google.gwt.core.ext.Generator

This generates AssetEditorFactory class during GWT compile time as we can not use Java reflection on GWT client side.


Constructor Summary
AssetEditorFactoryGenerator()
           
 
Method Summary
 String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String requestedClass)
           
static List<AssetEditorConfiguration> loadAssetEditorMetaData()
           
 
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
 

Constructor Detail

AssetEditorFactoryGenerator

public AssetEditorFactoryGenerator()
Method Detail

generate

public String generate(com.google.gwt.core.ext.TreeLogger logger,
                       com.google.gwt.core.ext.GeneratorContext context,
                       String requestedClass)
                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

loadAssetEditorMetaData

public static List<AssetEditorConfiguration> loadAssetEditorMetaData()


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.