Statistics
| Revision:

gvsig-raster / org.gvsig.raster / trunk / org.gvsig.raster / org.gvsig.raster.main / src / test / java / org / gvsig / fmap / dal / coverage / grid / filter / RasterFilterForTest.java @ 2443

History | View | Annotate | Download (1.82 KB)

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
 */
22
package org.gvsig.fmap.dal.coverage.grid.filter;
23

    
24
import org.gvsig.fmap.dal.coverage.datastruct.Params;
25
import org.gvsig.raster.impl.store.ParamsImpl;
26

    
27
/**
28
 * Filtro para de prueba para el test TestRasterFilterList
29
 *
30
 * @author Nacho Brodin (nachobrodin@gmail.com)
31
 */
32

    
33
public class RasterFilterForTest extends BaseRasterFilter {
34
        public static String[] names = new String[] {"test"};
35

    
36
        public RasterFilterForTest() {
37
                setName(names[0]);
38
        }
39

    
40
        public String getGroup() {
41
                return null;
42
        }
43

    
44
        public int getInRasterDataType() {
45
                return 0;
46
        }
47

    
48
        public String[] getNames() {
49
                return names;
50
        }
51

    
52
        public int getOutRasterDataType() {
53
                return 0;
54
        }
55

    
56
        public Object getResult(String name) {
57
                return null;
58
        }
59

    
60
        public Params getUIParams(String nameFilter) {
61
                Params params = new ParamsImpl();
62
                return params;
63
        }
64

    
65
        public void post() {
66
        }
67

    
68
        public void pre() {
69
        }
70

    
71
        public void process(int x, int y) {
72
        }
73

    
74
        public boolean isVisible() {
75
                return false;
76
        }
77
}