Exemplo n.º 1
0
 def __init__(self, parent):
     """ 
     Initialize
     """
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     Resource.__init__(self)
Exemplo n.º 2
0
 def __init__(self, parent):
     """
     Initialize
     """
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
Exemplo n.º 3
0
 def __init__(self, parent):
     """
     Initialize
     """
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
Exemplo n.º 4
0
 def __init__(self, parent):
     """ 
     Initialize
     """
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
     self.client = None
Exemplo n.º 5
0
 def __init__(self, parent):
     """ 
     Initialize
     """ 
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
     self.client = None
     self.config.styleStore.register(self)
Exemplo n.º 6
0
 def __init__(self, parent):
     """
     Initialize
     """
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
     self.client = None
     self.config.templateStore.register(self)
Exemplo n.º 7
0
 def __init__(self, parent):
     """ 
     Initialize
     """ 
     Renderable.__init__(self, parent)
     self.client = None
     log.debug("Load appropriate iDevices")
     self.prototypes = {}
     self.ideviceStore.register(self)
     for prototype in self.ideviceStore.getIdevices():
         log.debug("add "+prototype.title)
         self.prototypes[prototype.id] = prototype
Exemplo n.º 8
0
 def __init__(self, parent):
     """ 
     Initialize
     """
     Renderable.__init__(self, parent)
     self.client = None
     log.debug("Load appropriate iDevices")
     self.prototypes = {}
     self.ideviceStore.register(self)
     for prototype in self.ideviceStore.getIdevices():
         log.debug("add " + prototype.title)
         self.prototypes[prototype.id] = prototype
Exemplo n.º 9
0
 def __init__(self, parent, idevice):
     """
     Initialize a new Block object
     """
     Renderable.__init__(self, parent, name=idevice.id)
     self.idevice = idevice
     self.id      = idevice.id
     self.purpose = idevice.purpose
     self.tip     = idevice.tip
     if idevice.edit:
         self.mode = Block.Edit
     else:
         self.mode = Block.Preview
Exemplo n.º 10
0
    def __init__(self, parent, idevice):
        """
        Initialize a new Block object
        """
        Renderable.__init__(self, parent, name=idevice.id)
        self.idevice = idevice
        self.id = idevice.id
        self.purpose = idevice.purpose
        self.tip = idevice.tip

        if idevice.edit:
            self.mode = Block.Edit
        else:
            self.mode = Block.Preview
Exemplo n.º 11
0
 def __init__(self, parent):
     """ 
     Initialize
     """ 
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
     self.client = None
     log.debug("Load appropriate iDevices")
     self.prototypes = {}
     self.ideviceStore.register(self)
     for prototype in self.ideviceStore.getIdevices():
         log.debug("add " + prototype.title)
         if prototype.id in self.prototypes:
             raise Exception("duplicated device id %s" % prototype.id)
         self.prototypes[prototype.id] = prototype
Exemplo n.º 12
0
 def __init__(self, parent):
     """ 
     Initialize
     """ 
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
     self.client = None
     log.debug("Load appropriate iDevices")
     self.prototypes = {}
     self.translateOldHidingIdevicesMechanism()
     self.ideviceStore.register(self)
     for prototype in self.ideviceStore.getIdevices():
         log.debug("add " + prototype.title)
         if prototype.id in self.prototypes:
             raise Exception("duplicated device id %s" % prototype.id)
         self.prototypes[prototype.id] = prototype
Exemplo n.º 13
0
 def __init__(self, parent):
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.procomun = ProcomunOauth(self)
Exemplo n.º 14
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.states = {}
Exemplo n.º 15
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
Exemplo n.º 16
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.states = {}
Exemplo n.º 17
0
 def __init__(self, parent):
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.procomun = ProcomunOauth(self)
Exemplo n.º 18
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     self.url          = ""
Exemplo n.º 19
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)