Revision 31952 branches/v2_0_0_prep/libraries/libUIComponent/src-test-ui/org/gvsig/gui/beans/incrementabletask/TestIncrementableTask.java
TestIncrementableTask.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
2 |
* |
|
3 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
*/ |
|
19 | 1 |
package org.gvsig.gui.beans.incrementabletask; |
20 | 2 |
|
21 | 3 |
import org.gvsig.gui.beans.progresspanel.LogControl; |
4 |
|
|
5 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
6 |
* |
|
7 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
8 |
* of the Valencian Government (CIT) |
|
9 |
* |
|
10 |
* This program is free software; you can redistribute it and/or |
|
11 |
* modify it under the terms of the GNU General Public License |
|
12 |
* as published by the Free Software Foundation; either version 2 |
|
13 |
* of the License, or (at your option) any later version. |
|
14 |
* |
|
15 |
* This program is distributed in the hope that it will be useful, |
|
16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
* GNU General Public License for more details. |
|
19 |
* |
|
20 |
* You should have received a copy of the GNU General Public License |
|
21 |
* along with this program; if not, write to the Free Software |
|
22 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
23 |
* MA 02110-1301, USA. |
|
24 |
* |
|
25 |
*/ |
|
26 |
|
|
22 | 27 |
/** |
23 | 28 |
* Test del IncrementableTask |
24 | 29 |
* |
... | ... | |
130 | 135 |
public void actionSuspended(IncrementableEvent e) { |
131 | 136 |
// threadSuspended = true; |
132 | 137 |
} |
138 |
|
|
139 |
|
|
140 |
public void setLabel(String label) { |
|
141 |
// TODO Auto-generated method stub |
|
142 |
|
|
143 |
} |
|
144 |
|
|
145 |
public boolean isSuspended() { |
|
146 |
// TODO Auto-generated method stub |
|
147 |
return false; |
|
148 |
} |
|
149 |
|
|
150 |
public void resume() { |
|
151 |
// TODO Auto-generated method stub |
|
152 |
|
|
153 |
} |
|
154 |
|
|
155 |
public void suspend() { |
|
156 |
// TODO Auto-generated method stub |
|
157 |
|
|
158 |
} |
|
159 |
|
|
160 |
public boolean isCancelable() { |
|
161 |
// TODO Auto-generated method stub |
|
162 |
return false; |
|
163 |
} |
|
164 |
|
|
165 |
public void process() throws InterruptedException, Exception { |
|
166 |
// TODO Auto-generated method stub |
|
167 |
|
|
168 |
} |
|
169 |
|
|
170 |
public void setCancelable(boolean b) { |
|
171 |
// TODO Auto-generated method stub |
|
172 |
|
|
173 |
} |
|
174 |
|
|
175 |
public boolean isPausable() { |
|
176 |
// TODO Auto-generated method stub |
|
177 |
return false; |
|
178 |
} |
|
179 |
|
|
180 |
public void setPausable(boolean b) { |
|
181 |
// TODO Auto-generated method stub |
|
182 |
|
|
183 |
} |
|
133 | 184 |
} |
134 | 185 |
|
135 | 186 |
ClassProcess classProcess = null; |
Also available in: Unified diff