edu.bonn.xulu.plugin.appl
Class VisualisationHandlerFactory

java.lang.Object
  extended by edu.bonn.xulu.io.AbstractFactory
      extended by edu.bonn.xulu.plugin.appl.VisualisationHandlerFactory
All Implemented Interfaces:
HandlerFactory, Factory

public class VisualisationHandlerFactory
extends AbstractFactory
implements HandlerFactory

Mit dieser Factory werden Instanzen des VisualisationHandler erstellt und modifiziert. Die benoetigten Informationen (darzustellendes Datenpool-Objekt und Visualisierungstool) werden interaktiv ueber Dialoge vom Anwender abgefragt.

Version:
1.0
Author:
Martin Schmitz (University of Bonn/Germany)

Field Summary
 
Fields inherited from class edu.bonn.xulu.io.AbstractFactory
name
 
Constructor Summary
VisualisationHandlerFactory()
          Erzeugt eine neue Handler-Factory.
VisualisationHandlerFactory(String name)
          Erzeugt eine neue Handler-Factory.
 
Method Summary
 VisualisationHandler createHandler(XuluModellingPlatform appl)
          Erzeugt einen neuen VisualisationHandler.
 void modifyHandler(XuluModellingPlatform appl, Handler handler)
          Veraendert einen bestehenden VisualisationHandler.
 
Methods inherited from class edu.bonn.xulu.io.AbstractFactory
checkExportDestinationObject, checkImportSourceObject, equals, equals, getInstantiationFactoryFromRegistry, getName, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.bonn.xulu.io.Factory
equals
 

Constructor Detail

VisualisationHandlerFactory

public VisualisationHandlerFactory()
Erzeugt eine neue Handler-Factory.


VisualisationHandlerFactory

public VisualisationHandlerFactory(String name)
Erzeugt eine neue Handler-Factory.

Parameters:
name - Beschreibung der Factory
Method Detail

createHandler

public VisualisationHandler createHandler(XuluModellingPlatform appl)
Erzeugt einen neuen VisualisationHandler.

Specified by:
createHandler in interface HandlerFactory
Parameters:
appl - Instanz der Xulu-Applikation

modifyHandler

public void modifyHandler(XuluModellingPlatform appl,
                          Handler handler)
Veraendert einen bestehenden VisualisationHandler.

Specified by:
modifyHandler in interface HandlerFactory
Parameters:
appl - Instanz der Xulu-Applikation
handler - Handler, der veraendert werden soll
Throws:
UnsupportedOperationException - falls der uebergebene Handler kein VisualisationHandler ist