svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.fmap.mapcontext.swing / org.gvsig.fmap.mapcontext.swing.impl / src / main / java / org / gvsig / fmap / mapcontext / raster / swing / impl / DefaultMapContextRasterSwingManager.java @ 44831
History | View | Annotate | Download (3.7 KB)
1 | 44831 | jjdelcerro | /* gvSIG. Desktop Geographic Information System.
|
---|---|---|---|
2 | *
|
||
3 | * Copyright ? 2007-2017 gvSIG Association
|
||
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., 51 Franklin Street, Fifth Floor, Boston,
|
||
18 | * MA 02110-1301, USA.
|
||
19 | *
|
||
20 | * For any additional information, do not hesitate to contact us
|
||
21 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
22 | */
|
||
23 | package org.gvsig.fmap.mapcontext.raster.swing.impl; |
||
24 | |||
25 | import java.util.List; |
||
26 | |||
27 | import org.gvsig.fmap.dal.raster.BandDescriptor; |
||
28 | import org.gvsig.fmap.mapcontext.raster.swing.MapContextRasterSwingManager; |
||
29 | import org.gvsig.fmap.mapcontext.raster.swing.SelectableBandDescriptorsTableModel; |
||
30 | import org.gvsig.fmap.mapcontext.raster.swing.bands.BandsPanel; |
||
31 | import org.gvsig.fmap.mapcontext.raster.swing.export.ExportRasterPanel; |
||
32 | import org.gvsig.fmap.mapcontext.raster.swing.impl.bands.BandsPanelController; |
||
33 | import org.gvsig.fmap.mapcontext.raster.swing.impl.export.DefaultExportRasterPanel; |
||
34 | import org.gvsig.fmap.mapcontext.raster.swing.impl.operations.OperationListPanelController; |
||
35 | import org.gvsig.fmap.mapcontext.raster.swing.impl.operations.OperationSelectorPanelController; |
||
36 | import org.gvsig.fmap.mapcontext.raster.swing.impl.previewer.DefaultOneLayerPreviewer; |
||
37 | import org.gvsig.fmap.mapcontext.raster.swing.impl.transparency.TransparencyPanelController; |
||
38 | import org.gvsig.fmap.mapcontext.raster.swing.operations.OperationListPanel; |
||
39 | import org.gvsig.fmap.mapcontext.raster.swing.operations.OperationSelectorPanel; |
||
40 | import org.gvsig.fmap.mapcontext.raster.swing.previewer.OneLayerPreviewer; |
||
41 | import org.gvsig.fmap.mapcontext.raster.swing.transparency.TransparencyPanel; |
||
42 | import org.gvsig.tools.dynobject.DynObject; |
||
43 | import org.gvsig.tools.service.Service; |
||
44 | import org.gvsig.tools.service.ServiceException; |
||
45 | |||
46 | |||
47 | /**
|
||
48 | * @author fdiaz
|
||
49 | *
|
||
50 | */
|
||
51 | public class DefaultMapContextRasterSwingManager implements MapContextRasterSwingManager{ |
||
52 | |||
53 | @Override
|
||
54 | public DynObject createServiceParameters(String serviceName) throws ServiceException { |
||
55 | // TODO Auto-generated method stub
|
||
56 | return null; |
||
57 | } |
||
58 | |||
59 | @Override
|
||
60 | public Service getService(DynObject parameters) throws ServiceException { |
||
61 | // TODO Auto-generated method stub
|
||
62 | return null; |
||
63 | } |
||
64 | |||
65 | @Override
|
||
66 | public SelectableBandDescriptorsTableModel createSelectableBandDescriptorsTableModel(List<BandDescriptor> descriptors) { |
||
67 | return new DefaultSelectableBandDescriptorsTableModel(descriptors); |
||
68 | } |
||
69 | |||
70 | @Override
|
||
71 | public TransparencyPanel createTransparencyPanel() {
|
||
72 | return new TransparencyPanelController(); |
||
73 | } |
||
74 | |||
75 | @Override
|
||
76 | public BandsPanel createBandsPanel() {
|
||
77 | return new BandsPanelController(); |
||
78 | } |
||
79 | |||
80 | @Override
|
||
81 | public ExportRasterPanel createExportRaster() {
|
||
82 | return new DefaultExportRasterPanel(); |
||
83 | } |
||
84 | |||
85 | @Override
|
||
86 | public OneLayerPreviewer createOneLayerPreviewer() {
|
||
87 | return new DefaultOneLayerPreviewer(); |
||
88 | } |
||
89 | |||
90 | @Override
|
||
91 | public OperationListPanel createOperationListPanel() {
|
||
92 | return new OperationListPanelController(); |
||
93 | } |
||
94 | |||
95 | @Override
|
||
96 | public OperationSelectorPanel createOperationSelectorPanel() {
|
||
97 | return new OperationSelectorPanelController(); |
||
98 | } |
||
99 | |||
100 | } |