/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/messages.py
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/Thuban/Model/messages.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 547 - (hide annotations)
Thu Mar 20 09:44:35 2003 UTC (21 years, 11 months ago) by jonathan
Original Path: trunk/thuban/Thuban/Model/messages.py
File MIME type: text/x-python
File size: 1237 byte(s)
New message to indicate that a layer's
        data has changed (LAYER_CHANGED). New map messages to indicate
        when layers have been added/removed/changed or if the stacking order
        of the layers has changed.

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 jonathan 547 LAYER_CHANGED = "LAYER_CHANGED"
24 bh 6
25     # Map specific message types
26 jonathan 547 MAP_STACKING_CHANGED = "MAP_STACKING_CHANGED"
27     MAP_LAYERS_CHANGED = "MAP_LAYERS_CHANGED"
28     MAP_LAYERS_ADDED = "MAP_LAYERS_ADDED"
29     MAP_LAYERS_REMOVED = "MAP_LAYERS_REMOVED"
30 bh 6 MAP_PROJECTION_CHANGED = "MAP_PROJECTION_CHANGED"
31    
32 jan 196 # Extension specific message types
33     EXTENSION_CHANGED = "EXTENSION_CHANGED"
34     EXTENSION_OBJECTS_CHANGED = "EXTENSION_OBJECTS_CHANGED"
35    
36 bh 6 # Session specific message types
37     MAPS_CHANGED = "MAPS_CHANGED"
38 jan 196 EXTENSIONS_CHANGED = "EXTENSIONS_CHANGED"
39 bh 6 FILENAME_CHANGED = "FILENAME_CHANGED"

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26