1 |
bh |
220 |
# Copyright (C) 2001, 2002 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 |
|
|
The command execution context, |
10 |
|
|
""" |
11 |
|
|
|
12 |
|
|
__version__ = "$Revision$" |
13 |
|
|
|
14 |
|
|
class Context: |
15 |
|
|
|
16 |
|
|
"""Command Execution Context |
17 |
|
|
|
18 |
jan |
374 |
Public Attributes: |
19 |
bh |
220 |
|
20 |
|
|
application -- The application object |
21 |
|
|
session -- The session object |
22 |
|
|
mainwindow -- The main window |
23 |
|
|
|
24 |
|
|
""" |
25 |
|
|
|
26 |
|
|
def __init__(self, application, session, mainwindow): |
27 |
|
|
self.application = application |
28 |
|
|
self.session = session |
29 |
|
|
self.mainwindow = mainwindow |