jan: thuban/Extensions/bboxdump __init__.py,1.2,1.3

cvs@intevation.de cvs at intevation.de
Sat Nov 20 13:53:21 CET 2004


Author: jan

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

Modified Files:
	__init__.py 
Log Message:
Added registry entry and the importing
of the actual bboxdump module.


Index: __init__.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/bboxdump/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- __init__.py	4 May 2004 17:17:00 -0000	1.2
+++ __init__.py	20 Nov 2004 12:53:19 -0000	1.3
@@ -1,6 +1,22 @@
-# Copyright (c) 2003 by Intevation GmbH
+# Copyright (C) 2004 by Intevation GmbH
 # Authors:
-# Frank Koormann <frank at intevation.de>
+# Frank Koormann <frank at intevation.de> (2004)
+# Jan-Oliver Wagner <jan at intevation.de> (2004)
 #
 # This program is free software under the GPL (>=v2)
 # Read the file COPYING coming with Thuban for details.
+
+# import the actual module
+import bboxdump
+
+# perform the registration of the extension
+from Thuban import _
+from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
+
+ext_registry.add(ExtensionDesc(
+    name = 'bboxdump',
+    version = '1.0.0',
+    authors= [ 'Frank Koormann' ],
+    copyright = '2004 Intevation GmbH',
+    desc = _("Dumps the bounding boxes of all\n" \
+             "shapes of the selected layer.")))





More information about the Thuban-devel mailing list

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