Revision 372 org.gvsig.scripting.app/trunk/org.gvsig.scripting.app/org.gvsig.scripting.app.extension/src/main/resources/scripting/lib/commonsdialog.py

View differences:

commonsdialog.py
80 80
#====================================
81 81
# SWING
82 82

  
83
# messageType options
84
forbiden = 0
85
idea= 1
86
warning= 2
87
question= 3
88

  
89
# confirmDialog options
90
yes-no = 0
91
yes-no-cancel = 1
92
acept-cancel = 2
93

  
83 94
def msgbox(message, title="", messageType=1):
84 95
  """
85 96
  Create a message dialog with ok button only

Also available in: Unified diff