~ubuntu-branches/ubuntu/lucid/thuban/lucid

« back to all changes in this revision

Viewing changes to Thuban/UI/messages.py

  • Committer: Bazaar Package Importer
  • Author(s): Silke Reimer
  • Date: 2004-01-28 12:47:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040128124734-6xotwcqilok6ngut
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2001, 2002, 2003 by Intevation GmbH
 
2
# Authors:
 
3
# Bernhard Herzog <bh@intevation.de>
 
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: 1.7 $"
 
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