frank: thuban ChangeLog,1.725,1.726

cvs@intevation.de cvs at intevation.de
Mon Dec 13 12:53:53 CET 2004


Author: frank

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv6325

Modified Files:
	ChangeLog 
Log Message:
Added Alternative Path feature

Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.725
retrieving revision 1.726
diff -u -d -r1.725 -r1.726
--- ChangeLog	11 Dec 2004 03:24:36 -0000	1.725
+++ ChangeLog	13 Dec 2004 11:53:51 -0000	1.726
@@ -1,3 +1,35 @@
+2004-12-13  Frank Koormann <frank at intevation.de>
+
+    Alternative Path feature: When loading a (moved) session where 
+	shapefiles cannot be found, ask the user. Use the specified path 
+	if further shapefiles are missing. However, ask the usr for confirmation 
+	in such cases.
+
+	* test/test_load.py (TestAltPath): New, tests for alternative path feature
+	in load_session()
+	(Shapefile_CallBack): Helper, implements controllable callback.
+
+	* Thuban/UI/application.py (ThubanApplication.OnInit): 
+	Added "alt_path" to self.path
+	(ThubanApplication.OpenSession): Added shapefile_callback as second 
+	callback similar to db_connection_callback.
+	(ThubanApplication.run_alt_path_dialog): New, implementaion of
+	shapefile_callback. In addition to raising the dialog the control of
+	self.path('alt_path') is implemented here.
+
+	* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
+	(SessionLoader.open_shapefile): Open shapefile, eventually with 
+	alternative path. This wrapps the "theSession.OpenShapefile(filename)" 
+	formerly used in start_fileshapesource()/start_layer().
+	(SessionLoader.start_fileshapesource): Call open_shapefile().
+	(SessionLoader.start_layer): Call open_shapefile().
+	(load_session): Added shapefile_callback.
+
+	* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
+	feature (search / check).
+	
+	* Doc/manual/thuban-manual.xml: Added documentation of new feature.
+
 2004-12-11  Bernhard Reiter <bernhard at intevation.de>
 
 	 svgexport 0.9.2: Point size supports for maps.





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)