Пример #1
0
 def __init__(self, commandSequencer):
     glpane = commandSequencer.assy.glpane #bruce 080813 revised this
     
     basicCommand.__init__(self, commandSequencer)
     
     basicGraphicsMode.__init__(self, glpane)
         # no need to pass self as command, due to property below
     
     return
Пример #2
0
    def __init__(self, commandSequencer):
        glpane = commandSequencer.assy.glpane  #bruce 080813 revised this

        basicCommand.__init__(self, commandSequencer)

        basicGraphicsMode.__init__(self, glpane)
        # no need to pass self as command, due to property below

        return
Пример #3
0
 def __init__(self, glpane):
     if GLPANE_IS_COMMAND_SEQUENCER:
         commandSequencer = glpane
     else:
         msg = "don't yet know how to find commandSequencer when not GLPANE_IS_COMMAND_SEQUENCER"
             # btw, glpane.win.commandSequencer doesn't work yet (in the case when they are the same)
         print msg
         assert 0, msg
     
     basicCommand.__init__(self, commandSequencer)
     
     basicGraphicsMode.__init__(self, glpane)
         # no need to pass self as command, due to property below
     
     return
Пример #4
0
    def __init__(self, glpane):
        if GLPANE_IS_COMMAND_SEQUENCER:
            commandSequencer = glpane
        else:
            msg = "don't yet know how to find commandSequencer when not GLPANE_IS_COMMAND_SEQUENCER"
            # btw, glpane.win.commandSequencer doesn't work yet (in the case when they are the same)
            print msg
            assert 0, msg

        basicCommand.__init__(self, commandSequencer)

        basicGraphicsMode.__init__(self, glpane)
        # no need to pass self as command, due to property below

        return