Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/geomarker.py   collective.geo.contentlocations(Download)
    def add(self):
        """ Add the markage
        """
        if IGeoreferenceable.providedBy(self.context):
            return
    def clear(self):
        """ Clear the markage
        """
        if not IGeoreferenceable.providedBy(self.context):
            return

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/geomarker.py   collective.geo.contentlocations(Download)
    def add(self):
        """ Add the markage
        """
        if IGeoreferenceable.providedBy(self.context):
            return
    def clear(self):
        """ Clear the markage
        """
        if not IGeoreferenceable.providedBy(self.context):
            return

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/browser/helperview.py   collective.geo.contentlocations(Download)
    def isGeoreferenceable(self):
        geo_contenttypes = geo_settings().geo_content_types
        return (
            IGeoreferenceable.providedBy(self.context) and
            self.context.portal_type in geo_contenttypes)

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/geomanager.py   collective.geo.contentlocations(Download)
    def isGeoreferenceable(self):
        return IGeoreferenceable.providedBy(self.context)
 
    def getCoordinates(self):
        if(self.isGeoreferenceable()):

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/browser/helperview.py   collective.geo.contentlocations(Download)
    def isGeoreferenceable(self):
        geo_contenttypes = geo_settings().geo_content_types
        return (
            IGeoreferenceable.providedBy(self.context) and
            self.context.portal_type in geo_contenttypes)

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/geomanager.py   collective.geo.contentlocations(Download)
    def isGeoreferenceable(self):
        return IGeoreferenceable.providedBy(self.context)
 
    def getCoordinates(self):
        if(self.isGeoreferenceable()):