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

All Samples(6)  |  Call(0)  |  Derive(3)  |  Import(3)

src/r/e/redturtle.video-1.0.2/redturtle/video/browser/view.py   redturtle.video(Download)
from plone.memoize.instance import memoize
 
from collective.flowplayer.browser.view import File, Link
from collective.flowplayer.interfaces import IFlowPlayerView
 
class InternalVideo(File):
    """The Internal Video browser view"""
 
    implements(IRTInternalVideoView)
 

src/s/i/simplelayout.types.flowplayerblock-1.0c1/simplelayout/types/flowplayerblock/flowplayer.py   simplelayout.types.flowplayerblock(Download)
from collective.flowplayer.browser.view import File
 
 
class FlowPlayerBlock(File):
    """Block view for flowplayer enabled files"""

src/c/o/collective.flowplayer-4.1/src/collective/flowplayer/dexterity.py   collective.flowplayer(Download)
from zope.annotation import IAnnotations
from zope.interface import implements
from zope.interface import implementer
from plone.rfc822.interfaces import IPrimaryFieldInfo
from collective.flowplayer.browser.view import File as FileViewBase
class FlowplayerFileView(FileViewBase):
    def getFilename(self):
        info = IPrimaryFieldInfo(self.context)
        return info.value.filename