1 |
# Copyright (c) 2001, 2002, 2003 by Intevation GmbH |
2 |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
4 |
# |
5 |
# This program is free software under the GPL (>=v2) |
6 |
# Read the file COPYING coming with Thuban for details. |
7 |
|
8 |
|
9 |
""" |
10 |
Define the message types used in Thuban's GUI. The messages types are |
11 |
simply strings. The message system itself is implemented in |
12 |
Thuban.Lib.connector. |
13 |
""" |
14 |
|
15 |
__version__ = "$Revision$" |
16 |
|
17 |
# Application object |
18 |
SESSION_REPLACED = "SESSION_REPLACED" |
19 |
|
20 |
# events for the selection |
21 |
LAYER_SELECTED = "LAYER_SELECTED" |
22 |
SHAPES_SELECTED = "SHAPES_SELECTED" |
23 |
# obsolete selection messages. |
24 |
SELECTED_SHAPE = "SELECTED_SHAPE" |
25 |
SELECTED_LAYER = "SELECTED_LAYER" |
26 |
|
27 |
# events for the view |
28 |
VIEW_POSITION = "VIEW_POSITION" |
29 |
SCALE_CHANGED = "SCALE_CHANGED" |
30 |
MAP_REPLACED = "MAP_REPLACED" |
31 |
|
32 |
# event for a dockable window |
33 |
DOCKABLE_DOCKED = "DOCKABLE_DOCKED" |
34 |
DOCKABLE_UNDOCKED = "DOCKABLE_UNDOCKED" |
35 |
DOCKABLE_CLOSED = "DOCKABLE_CLOSED" |
36 |
|