예제 #1
0
 def __init__(self, parent):
     """ 
     Initialize
     """
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     Resource.__init__(self)
예제 #2
0
 def __init__(self, parent):
     """
     Initialize
     """
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
예제 #3
0
파일: outlinepane.py 프로젝트: Rafav/iteexe
 def __init__(self, parent):
     """
     Initialize
     """
     Renderable.__init__(self, parent)
     if parent:
         self.parent.putChild(self.name, self)
     Resource.__init__(self)
예제 #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
예제 #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)
예제 #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)
예제 #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
예제 #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
예제 #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
예제 #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
예제 #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
예제 #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
예제 #13
0
 def __init__(self, parent):
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.procomun = ProcomunOauth(self)
예제 #14
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.states = {}
예제 #15
0
파일: oauthpage.py 프로젝트: Rafav/iteexe
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
예제 #16
0
파일: oauthpage.py 프로젝트: Rafav/iteexe
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.states = {}
예제 #17
0
파일: oauthpage.py 프로젝트: Rafav/iteexe
 def __init__(self, parent):
     parent.putChild(self.name, self)
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)
     self.procomun = ProcomunOauth(self)
예제 #18
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     self.url          = ""
예제 #19
0
 def __init__(self, parent):
     Renderable.__init__(self, parent)
     rend.Page.__init__(self)