Example #1
0
def finishCallback( clientId, session, abort = False ):

    if ( abort ):
        session.rollback()
    else:
        session.commit()

    session.close()

    popCmdHandler( clientId )
    popPrompt( clientId )
Example #2
0
def finishCallback(clientId, session, abort=False):

    if (abort):
        session.rollback()
    else:
        session.commit()

    session.close()

    popCmdHandler(clientId)
    popPrompt(clientId)
Example #3
0
 def colorSelected(clientId, color):
     self.colors[clientId] = color
     popCmdHandler(clientId)
     popPrompt(clientId)
     selectionCallback(clientId)
Example #4
0
 def colorSelected( clientId, color ):
     self.colors[ clientId ] = color
     popCmdHandler( clientId )
     popPrompt( clientId )
     selectionCallback( clientId )
Example #5
0
def _editZoneNameCallback( clientId, zoneTemplateForm, zoneName ):
    zoneTemplateForm.zoneTemplate.name = zoneName
    popPrompt( clientId )
    sendToClient( clientId, zoneTemplateForm.form.menu( clientId ) )
Example #6
0
def _finish( clientId, textEditor ):
    popCmdHandler( clientId )
    popPrompt( clientId )
    textEditor.submitCallback( clientId, textEditor.text )
Example #7
0
def _editZoneNameCallback(clientId, zoneTemplateForm, zoneName):
    zoneTemplateForm.zoneTemplate.name = zoneName
    popPrompt(clientId)
    sendToClient(clientId, zoneTemplateForm.form.menu(clientId))
Example #8
0
def _editMobShortNameCallback(clientId, mobTemplateForm, mobShortName):
    mobTemplateForm.mobTemplate.sname = mobShortName
    popPrompt(clientId)
    sendToClient(clientId, mobTemplateForm.form.menu(clientId))
Example #9
0
def finishCallback(clientId, abort=False):
    popCmdHandler(clientId)
    popPrompt(clientId)
Example #10
0
def _finish(clientId, textEditor):
    popCmdHandler(clientId)
    popPrompt(clientId)
    textEditor.submitCallback(clientId, textEditor.text)
Example #11
0
def _editMobShortNameCallback(clientId, mobTemplateForm, mobShortName):
    mobTemplateForm.mobTemplate.sname = mobShortName
    popPrompt(clientId)
    sendToClient(clientId, mobTemplateForm.form.menu(clientId))
Example #12
0
def textCallback(clientId, text):
    sendToClient(clientId, "{!{FUYou typed:{FG %s" % text)
    popPrompt(clientId)
Example #13
0
def textCallback( clientId, text ):
    sendToClient( clientId, "{!{FUYou typed:{FG %s" % text )
    popPrompt( clientId )
Example #14
0
def finishCallback(clientId, abort=False):
    popCmdHandler(clientId)
    popPrompt(clientId)