source: ATGoogleMaps/branches/for-plone30/LatLngWidget.py @ 194

Revision 194, 1.7 KB checked in by takanori, 4 years ago (diff)

move directory

Line 
1# -*- coding: utf-8 -*-
2#
3# File: LatLngWidget.py
4#
5# Copyright (c) 2008 by ['takanori', 'yuta']
6# Generator: ArchGenXML Version 2.1
7#            http://plone.org/products/archgenxml
8#
9# GNU General Public License (GPL)
10#
11
12__author__ = """takanori <takanori@takanory.net>, yuta <unknown>"""
13__docformat__ = 'plaintext'
14
15from AccessControl import ClassSecurityInfo
16from Acquisition import aq_base
17
18from Products.CMFCore.utils import getToolByName
19
20from Products.Archetypes.Registry import registerWidget
21from Products.Archetypes.utils import DisplayList
22from Products.Archetypes import config as atconfig
23from Products.Archetypes.Widget import *
24from Products.Archetypes.Widget import TypesWidget
25
26from Products.ATGoogleMaps import config
27
28##code-section module-header #fill in your manual code here
29##/code-section module-header
30
31from zope.interface import implements
32
33from Products.CMFDynamicViewFTI.browserdefault import BrowserDefaultMixin
34
35
36class LatLngWidget(TypesWidget):
37    """
38    """
39    ##code-section class-header #fill in your manual code here
40    ##/code-section class-header
41
42
43    _properties = TypesWidget._properties.copy()
44    _properties.update({
45        'macro' : 'LatLngWidget',
46        'size' : '30',
47        'maxlength' : '255',
48        ##code-section widget-properties #fill in your manual code here
49        ##/code-section widget-properties
50
51        })
52
53    security = ClassSecurityInfo()
54
55
56
57registerWidget(LatLngWidget,
58               title='LatLngWidget',
59               description=('no description given'),
60               used_for=('Products.Archetypes.Field.StringField',)
61               )
62##code-section module-footer #fill in your manual code here
63##/code-section module-footer
64
65
66
Note: See TracBrowser for help on using the repository browser.