1 |
bh |
6 |
# Copyright (c) 2001 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 |
|
|
Define the message types used by the classes implementing Thuban's data |
10 |
|
|
model. The messages types are simply strings. The message system itself |
11 |
|
|
is implemented in Thuban.Lib.connector. |
12 |
|
|
""" |
13 |
|
|
__version__ = "$Revision$" |
14 |
|
|
|
15 |
|
|
# Common message types |
16 |
|
|
TITLE_CHANGED = "TITLE_CHANGED" |
17 |
|
|
CHANGED = "CHANGED" |
18 |
|
|
|
19 |
|
|
# layer specific message types |
20 |
|
|
LAYER_PROJECTION_CHANGED = "LAYER_PROJECTION_CHANGED" |
21 |
|
|
LAYER_LEGEND_CHANGED = "LAYER_LEGEND_CHANGED" |
22 |
|
|
LAYER_VISIBILITY_CHANGED = "LAYER_VISIBILITY_CHANGED" |
23 |
|
|
|
24 |
|
|
# Map specific message types |
25 |
|
|
LAYERS_CHANGED = "LAYERS_CHANGED" |
26 |
|
|
MAP_PROJECTION_CHANGED = "MAP_PROJECTION_CHANGED" |
27 |
|
|
|
28 |
|
|
# Session specific message types |
29 |
|
|
MAPS_CHANGED = "MAPS_CHANGED" |
30 |
|
|
FILENAME_CHANGED = "FILENAME_CHANGED" |