def __init__(self, parent):
     """ 
     Initialize
     """
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     Resource.__init__(self)
Exemple #2
0
 def __init__(self, parent):
     """
     Initialize
     """
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
Exemple #3
0
 def __init__(self, parent):
     """
     Initialize
     """
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
 def __init__(self, parent):
     """ 
     Initialize
     """
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
     self.client = None
Exemple #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)
 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)
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #13
0
 def __init__(self, parent):
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.procomun = ProcomunOauth(self)
Exemple #14
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.states = {}
Exemple #15
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
Exemple #16
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.states = {}
Exemple #17
0
 def __init__(self, parent):
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.procomun = ProcomunOauth(self)
Exemple #18
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     self.url          = ""
Exemple #19
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)