Ejemplo n.º 1
0
 def __init__(self, id):
     ZenModelRM.__init__(self, id)
     self.eventClassKey = id
     self.sequence = None
     self.rule = ""
     self.regex = ""
     self.example = ""
     self.explanation = ""
     self.resolution = ""
Ejemplo n.º 2
0
 def __init__(self, id):
     ZenModelRM.__init__(self, id)
     self.eventClassKey = id
     self.sequence = None
     self.rule = ""
     self.regex = ""
     self.example = ""
     self.explanation = ""
     self.resolution = ""
Ejemplo n.º 3
0
 def __init__(self, sourcepath, id='', title='', description='', 
              preview='', height=200, permission=ZEN_COMMON):
     if not id: id = basename(sourcepath).split('.')[0]
     self.id = id
     ZenModelRM.__init__(self, id)
     self.title = title
     self.description = description
     self.permission = permission
     self.sourcepath = sourcepath
     self.preview = preview
     self.height = height
     self._read_source()
Ejemplo n.º 4
0
 def __init__(self,
              sourcepath,
              id='',
              title='',
              description='',
              preview='',
              height=200,
              permission=ZEN_COMMON):
     if not id: id = basename(sourcepath).split('.')[0]
     self.id = id
     ZenModelRM.__init__(self, id)
     self.title = title
     self.description = description
     self.permission = permission
     self.sourcepath = sourcepath
     self.preview = preview
     self.height = height
     self._read_source()
Ejemplo n.º 5
0
 def __init__(self, id, title=None, buildRelations=True):
     #self.dependencies = {'zenpacksupport':''}
     self.dependencies = {}
     ZenModelRM.__init__(self, id, title, buildRelations)
Ejemplo n.º 6
0
 def __init__(self, *args, **kw):
     ZenModelRM.__init__(self, *args, **kw)
     self._jobmanager_version = JOBMANAGER_VERSION
Ejemplo n.º 7
0
 def __init__(self, id, title=None, buildRelations=True):
     #self.dependencies = {'zenpacksupport':''}
     self.dependencies = {}
     ZenModelRM.__init__(self, id, title, buildRelations)