Пример #1
0
 def __init__(self, parent):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     self.refresh()
     self.periodicRefresh = False
     self.refreshThread = self.RefreshThread(self)
     self.refreshThread.start()
Пример #2
0
 def __init__(self,parent, data = {}):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     self.data = data
     self.data['available'] = []
     self.getRepoTemplates()
     self.load()
Пример #3
0
 def __init__(self,parent, data = {}):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     self.data = data
     self.roledata = None
     self.permissiondata = None
     self.updated()
Пример #4
0
 def __init__(self, par, url="", dba_user="", dba_password=""):
     GenericSkarphedObject.__init__(self)
     self.par = par
     self.instanceTypeName = "database"
     self.displayName = "Database"
     self.dba_user = dba_user
     self.dba_password = dba_password
Пример #5
0
 def __init__(self,par, data = {}):
     GenericSkarphedObject.__init__(self)
     self.par = par
     self.data = data
     self.actionList = None
     self.updated()
     self.loadActionList()
     self.loadMenuItems()
Пример #6
0
 def __init__(self,data,server):
     GenericSkarphedObject.__init__(self)
     self.server=server
     self.data  = data
     self.domain = ""
     self.installationId = int(random.random()*1000)
     self.BUILDPATH = os.path.join("/","tmp","scvinst"+str(self.installationId))
     self.installThread = self.InstallThread(self)
     self.status = 0
Пример #7
0
 def __init__(self,parent, data):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     self.data = data
     self.loaded_fully = False
     if not self.data.has_key('space_widget_mapping'):
         self.data['space_widget_mapping'] = {}
     if not self.data.has_key('box_mapping'):
         self.data['box_mapping'] = {}
     if not self.data.has_key('widget_param_mapping'):
         self.data['widget_param_mapping'] = {}
     if not self.data.has_key('page_id'):
         self.data['page_id'] = None
     self.updated()
Пример #8
0
 def __init__(self, instanceid, instance):
     GenericSkarphedObject.__init__(self)
     self.instanceid = instanceid
     self.instance = instance
     self.status = 0
     self.destroyThread = self.DestroyThread(self)
Пример #9
0
 def __init__(self, par, db_name="", db_user="", db_password=""):
     GenericSkarphedObject.__init__(self)
     self.par = par
     self.db_name = db_name
     self.db_user = db_user
     self.db_password = db_password
Пример #10
0
 def __init__(self,parent):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     self.updated()
     self.refresh()
Пример #11
0
 def __init__(self, parent, data={}):
     GenericSkarphedObject.__init__(self)
     self.data = data
Пример #12
0
 def __init__(self, parent):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     print "going to load media"
     self.loadMedia()
Пример #13
0
 def __init__(self,parent, data = {}):
     GenericSkarphedObject.__init__(self)
     self.par = parent
     self.data = data
     self.updated()
Пример #14
0
 def __init__(self, par):
     GenericSkarphedObject.__init__(self)
     self.par = par
     self.status = False
     self.refresh()
Пример #15
0
 def __init__(self,par, data = {}):
     GenericSkarphedObject.__init__(self)
     self.par = par
     self.data = data
     self.updated()
     self.loadActions()