2 |
2 |
3 # Copyright (c) 2010 - 2017 Detlev Offenbach <detlev@die-offenbachs.de> |
3 # Copyright (c) 2010 - 2017 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a TaskHandle class with a progress dialog. |
7 Module implementing a distributed TaskHandle class with a progress dialog. |
8 """ |
8 """ |
9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
12 import rope.base.taskhandle |
12 import rope.base.taskhandle |
13 |
13 |
14 |
14 |
15 class ProgressHandle(rope.base.taskhandle.TaskHandle): |
15 class ProgressHandle(rope.base.taskhandle.TaskHandle): |
16 """ |
16 """ |
17 Class implementing TaskHandle with a progress dialog. |
17 Class implementing distributed TaskHandle with a progress dialog. |
|
18 |
|
19 This is the client side. |
18 """ |
20 """ |
19 def __init__(self, client, title, interruptable=True): |
21 def __init__(self, client, title, interruptable=True): |
20 """ |
22 """ |
21 Constructor |
23 Constructor |
22 |
24 |