jan: thuban/Extensions/importAPR importAPR.py,1.4,1.5

cvs@intevation.de cvs at intevation.de
Tue Sep 28 21:29:08 CEST 2004


Author: jan

Update of /thubanrepository/thuban/Extensions/importAPR
In directory doto:/tmp/cvs-serv11201

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


Index: importAPR.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/importAPR/importAPR.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- importAPR.py	11 May 2004 22:34:49 -0000	1.4
+++ importAPR.py	28 Sep 2004 19:29:06 -0000	1.5
@@ -27,9 +27,18 @@
 from Thuban import _
 from Thuban.Model.layer import Layer
 from Thuban.Model.classification import ClassGroupRange, ClassGroupSingleton
+from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
 
 from odb import ODBBaseObject
 from apr import APR_LClass, APR_TClr, APR_BLnSym, APR_BMkSym, APR_BShSym
+
+ext_registry.add(ExtensionDesc(
+    name = 'importAPR',
+    version = '0.1.0',
+    authors= [ 'Jan-Oliver Wagner' ],
+    copyright = '2003 Intevation GmbH',
+    desc = _("Import a ArcView project file (.apr)\n" \
+             "and convert it to Thuban.")))
 
 class ODBExtension(Extension):
     def TreeInfo(self):





More information about the Thuban-devel mailing list

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