jan: thuban/Extensions/bboxdump bboxdump.py,1.3,1.4

cvs@intevation.de cvs at intevation.de
Tue Sep 28 21:31:07 CEST 2004


Author: jan

Update of /thubanrepository/thuban/Extensions/bboxdump
In directory doto:/tmp/cvs-serv11287

Modified Files:
	bboxdump.py 
Log Message:
Added registration of the extension.


Index: bboxdump.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/bboxdump/bboxdump.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- bboxdump.py	11 May 2004 22:34:49 -0000	1.3
+++ bboxdump.py	28 Sep 2004 19:31:05 -0000	1.4
@@ -1,4 +1,4 @@
-# Copyright (C) 2003 by Intevation GmbH
+# Copyright (C) 2003-2004 by Intevation GmbH
 # Authors:
 # Frank Koormann <frank at intevation.de>
 #
@@ -26,10 +26,19 @@
 from Thuban.UI.common import ThubanBeginBusyCursor, ThubanEndBusyCursor
 from Thuban.UI.command import registry, Command
 from Thuban.UI.mainwindow import main_menu, _has_selected_shape_layer
+from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
 from Thuban import _
 
 import shapelib
 import dbflib
+
+ext_registry.add(ExtensionDesc(
+    name = 'bboxdump',
+    version = '1.0.0',
+    authors= [ 'Frank Koormann' ],
+    copyright = '2003-2004 Intevation GmbH',
+    desc = _("Dumps the bounding boxes of all\n" \
+             "shapes of the selected layer.")))
 
 # Widget IDs
 ID_FILENAME = 4001





More information about the Thuban-devel mailing list

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