Example #1
0
 def __init__(self, commandArray, msgFunction):
     BaseCommand.__init__(self, None)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.outputMsg=msgFunction
     self.message=["Print the help Press enter to ally the command "]
     self.commandNames=list(commandArray.keys())
Example #2
0
 def __init__(self, application, msgFunction):
     BaseCommand.__init__(self, None)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.outputMsg=msgFunction
     self.message=["Press enter to start the test"]
     self.__pyCadApplication=application
Example #3
0
 def __init__(self, application, msgFunction):
     BaseCommand.__init__(self, None)
     self.__application=application
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.message=["Press enter to perform the command"]
     self.outputMsg=msgFunction
Example #4
0
 def __init__(self, documents, msgFunction):
     BaseCommand.__init__(self, None)
     self.__docuemnts=documents
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.message=["Press enter to perform the command"]
     self.outputMsg=msgFunction
Example #5
0
 def __init__(self, document, msgFucntion):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.outputMsg = msgFucntion
     self.exception = [ExcText]
     self.message = ["Give Me the Document Type Enter for All"]
Example #6
0
 def __init__(self, document, msgFunction ):
     BaseCommand.__init__(self, document)
     self.outputMsg=msgFunction
     self.exception=[ExcText]
     self.message=["Give me the entity id"]
Example #7
0
 def __init__(self, document):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[ExcText]
     self.message=["Give Me the Style Name"]
Example #8
0
 def __init__(self, application):
     BaseCommand.__init__(self, None)
     self.__application=application
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[ExcText]
     self.message=["Give Me the Document Name"]
Example #9
0
 def __init__(self, document, msgFucntion):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.outputMsg=msgFucntion
     self.exception=[ExcText]
     self.message=["Give Me the Document Type Enter for All"]
Example #10
0
 def __init__(self, document, msgFunction):
     BaseCommand.__init__(self, document)
     self.outputMsg = msgFunction
     self.exception = [ExcText]
     self.message = ["Give me the entity id"]
Example #11
0
 def __init__(self, document):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception = [ExcText]
     self.message = ["Give Me the Style Name"]
Example #12
0
 def __init__(self, application):
     BaseCommand.__init__(self, None)
     self.__application = application
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception = [ExcText]
     self.message = ["Give Me the Document Name"]