Changeset 722 in products for geolocation/branches/crchemist-geo_refactoring/interfaces
- Timestamp:
- Jan 3, 2007 1:47:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geolocation/branches/crchemist-geo_refactoring/interfaces/geolocation.py
r406 r722 3 3 from zope.schema import Float 4 4 5 class IGEOLocated(Interface): 6 """GEO location cordinates 7 """ 8 """ 9 longitude = Float( 10 title=u"Longitude", 11 description=u"", 12 required = False ) 13 14 latitude = Float( 15 title=u"Latitude", 16 description=u"", 17 required = False ) 18 """ 19 20 def getLongitude(): 21 """ return longtitude """ 22 23 def getLatitude(): 24 """ return latitude """ 25 26 def setLongitude(value): 27 """ set longtitude """ 28 29 def setLatitude(value): 30 """ set latitutde """ 31 32 def setLocation(latitude, longitude): 33 """ set location """ 34 35 class IGEOLocatedView(Interface): 5 class IPointView(Interface): 36 6 """browser view 37 7 """ … … 41 11 42 12 def getLatitude(): 43 """ return geolatitude """13 """ return point latitude """ 44 14 45 15 def getLongitude(): 46 """ return geolongitude """16 """ return point longitude """
Note: See TracChangeset
for help on using the changeset viewer.