edu.bonn.xulu.plugin.vis
Class GTEditorTool
java.lang.Object
edu.bonn.xulu.plugin.vis.GTVisualisationTool
edu.bonn.xulu.plugin.vis.GTEditorTool
- All Implemented Interfaces:
- AbstractManager.ContentType, VisualisationTool
public class GTEditorTool
- extends GTVisualisationTool
Diese Klasse stellt einen Editor fuer geografische Vektor-Daten dar.
Neben Vektor-Daten koennen auch Raster angezeigt werden.
Gesteuert wird der Editor durch eine Button-Leiste.
- Version:
- 1.0
- Author:
- Martin Schmitz (University of Bonn/Germany)
Methods inherited from class edu.bonn.xulu.plugin.vis.GTVisualisationTool |
add, addLayer, close, determineStyleFromObject, extractRealObject, getLayeredMapFrame, getTitle, isVisible, isVisualisable, isVisualisable, remove, setTitle, setVisible, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appl
protected XuluModellingPlatform appl
- Xulu-Instanz fuer die der Editor erstellt wurde.
GTEditorTool
public GTEditorTool()
- Erstellt ein neues Tool. Erweitert das Fenster um eine Button-Leiste
zur Steuerung des Editors.
initialize
public void initialize(XuluModellingPlatform appl)
- Speichert die Xulu-Instanz, um in den Datenpool die neu erstellten
Objekte einzufuegen.
- Specified by:
initialize
in interface VisualisationTool
- Overrides:
initialize
in class GTVisualisationTool
- Parameters:
appl
- Xulu-Instanz
performMapPaneEvent
public void performMapPaneEvent(JMapPaneEvent e)
- Lauscht auf das
JEditorPane
, um nach Beendigung eines Layers,
dieses in den Xulu-Datenpool einzufuegen.
createNewXuluObjectInDatapool
protected void createNewXuluObjectInDatapool(JEditorPane editor)
throws Exception
- Erstellt eine
SingleFeatureCollection
fuer eine FeatureCollection
und fuegt es in den Xulu-Datenpool ein.
- Parameters:
name
- Bezeichnung fuer das neue Objekt im Datenpoolfc
- neue FeatureCollection
- Throws:
Exception