def __init__(self, resname=None): # object.__setattr__(self, "_ctls", {}) self.SetAttr("_ctls", {}) self.module = adm.getModule(self) self._ctlList = [] if resname == None: self.resname = self.__class__.__name__ if self.resname == "Dlg": self.resname = self.__module__[self.__module__.rfind('.') + 1:] else: self.resname = resname
def __init__(self, resname=None): # object.__setattr__(self, "_ctls", {}) self.SetAttr("_ctls", {}) self.module=adm.getModule(self) self._ctlList=[] if resname == None: self.resname=self.__class__.__name__ if self.resname == "Dlg": self.resname=self.__module__[self.__module__.rfind('.')+1:] else: self.resname=resname
def __init__(self, parentNode, name): self.treeitems = {} self.childnodes = [] self.parentnodes = [] self.properties = [] self.statistics = None self.dependsOn = None self.referencedBy = None self.server = None self.connection = None self.comment = None self.detachedWindow = None self.parentNode = parentNode self.name = name self.module = adm.getModule(self) self.type = self.MakeType() self.id = NodeId(self)
def __init__(self, parentNode, name): self.treeitems={} self.childnodes=[] self.parentnodes=[] self.properties=[] self.statistics=None self.dependsOn=None self.referencedBy=None self.server=None self.connection=None self.comment=None self.detachedWindow=None self.parentNode=parentNode self.name=name self.module=adm.getModule(self) self.type=self.MakeType() self.id=NodeId(self)