org.kahina.core.gui
Class KahinaViewRegistry

java.lang.Object
  extended by org.kahina.core.gui.KahinaViewRegistry

public class KahinaViewRegistry
extends Object

TODO: import + export to XML file


Constructor Summary
KahinaViewRegistry()
           
 
Method Summary
static KahinaView<?> generateViewFor(Class<?> type, KahinaInstance<?,?,?> kahina)
           
static void loadFromXMLFile(String fileName)
           
static
<T extends KahinaObject>
void
registerMapping(Class<T> type, Class<? extends KahinaView<? super T>> viewType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KahinaViewRegistry

public KahinaViewRegistry()
Method Detail

registerMapping

public static <T extends KahinaObject> void registerMapping(Class<T> type,
                                                            Class<? extends KahinaView<? super T>> viewType)

generateViewFor

public static KahinaView<?> generateViewFor(Class<?> type,
                                            KahinaInstance<?,?,?> kahina)

loadFromXMLFile

public static void loadFromXMLFile(String fileName)