Revision 419 org.gvsig.scripting.app/trunk/org.gvsig.scripting.app/org.gvsig.scripting.app.extension/src/main/resources/scripting/lib/commonsdialog.py
commonsdialog.py | ||
---|---|---|
31 | 31 |
__docformat__ = 'plaintext' |
32 | 32 |
|
33 | 33 |
|
34 |
|
|
35 |
|
|
36 | 34 |
from javax.swing import JOptionPane, JFileChooser |
37 | 35 |
|
38 | 36 |
|
39 | 37 |
from org.gvsig.app import ApplicationLocator |
40 | 38 |
|
41 |
#org.gvsig.andami.ui.mdiframe.DefaultThreadSafeDialogs |
|
42 | 39 |
from org.gvsig.andami.ui.mdiFrame import DefaultThreadSafeDialogs |
43 | 40 |
|
44 |
application = ApplicationLocator.getManager() |
|
45 |
|
|
46 |
# -*- coding: utf-8 -*- |
|
47 |
# |
|
48 |
# File: commonsdialog.py |
|
49 |
# |
|
50 |
# Copyright (c) 2011 by Model Driven Development sl and Antonio Carrasco Valero |
|
51 |
# |
|
52 |
# GNU General Public License (GPL) |
|
53 |
# |
|
54 |
# This program is free software; you can redistribute it and/or |
|
55 |
# modify it under the terms of the GNU General Public License |
|
56 |
# as published by the Free Software Foundation; either version 2 |
|
57 |
# of the License, or (at your option) any later version. |
|
58 |
# |
|
59 |
# This program is distributed in the hope that it will be useful, |
|
60 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
61 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
62 |
# GNU General Public License for more details. |
|
63 |
# |
|
64 |
# You should have received a copy of the GNU General Public License |
|
65 |
# along with this program; if not, write to the Free Software |
|
66 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
67 |
# 02110-1301, USA. |
|
68 |
# |
|
69 |
# |
|
70 |
|
|
71 |
__author__ = """Antonio Carrasco Valero |
|
72 |
Model Driven Development sl and Antonio Carrasco Valero |
|
73 |
<carrasco@modeldd.org> |
|
74 |
Victor Acevedo Royer <vacevedor@gmail.com>""" |
|
75 |
__docformat__ = 'plaintext' |
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
from javax.swing import JOptionPane, JFileChooser |
|
81 |
|
|
82 | 41 |
#==================================== |
83 | 42 |
# SWING |
84 | 43 |
|
Also available in: Unified diff