Revision 673 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.impl/src/main/java/org/gvsig/tools/swing/impl/task/DefaultJTaskStatus.java
DefaultJTaskStatus.java | ||
---|---|---|
1 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
1 | 22 |
package org.gvsig.tools.swing.impl.task; |
2 | 23 |
|
3 | 24 |
import java.awt.Component; |
... | ... | |
21 | 42 |
import org.gvsig.tools.task.SimpleTaskStatus; |
22 | 43 |
import org.gvsig.tools.task.TaskStatus; |
23 | 44 |
|
45 |
/** |
|
46 |
* Default implementation of the {@link JTaskStatus}. |
|
47 |
* |
|
48 |
* @author gvSIG Team |
|
49 |
* @version $Id$ |
|
50 |
*/ |
|
24 | 51 |
public class DefaultJTaskStatus extends JTaskStatus implements Observer { |
25 | 52 |
|
26 |
/** |
|
27 |
* |
|
28 |
*/ |
|
29 | 53 |
private static final long serialVersionUID = -1908456747637477552L; |
30 | 54 |
|
31 | 55 |
private JLabel titlelabel = null; |
... | ... | |
39 | 63 |
|
40 | 64 |
private TaskStatus taskStatus; |
41 | 65 |
|
42 |
|
|
43 | 66 |
public DefaultJTaskStatus() { |
44 | 67 |
this.taskStatus = null; |
45 | 68 |
this.showCancelButton = true; |
Also available in: Unified diff