gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.wmts / org.gvsig.wmts.swing / org.gvsig.wmts.swing.impl / src / main / java / org / gvsig / wmts / swing / impl / WMTSSwingImplLibrary.java @ 8700
History | View | Annotate | Download (1.65 KB)
1 |
package org.gvsig.wmts.swing.impl; |
---|---|
2 |
/* gvSIG. Geographic Information System of the Valencian Government
|
3 |
*
|
4 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
5 |
* of the Valencian Government (CIT)
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
8 |
* modify it under the terms of the GNU General Public License
|
9 |
* as published by the Free Software Foundation; either version 2
|
10 |
* of the License, or (at your option) any later version.
|
11 |
*
|
12 |
* This program is distributed in the hope that it will be useful,
|
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
* GNU General Public License for more details.
|
16 |
*
|
17 |
* You should have received a copy of the GNU General Public License
|
18 |
* along with this program; if not, write to the Free Software
|
19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
20 |
* MA 02110-1301, USA.
|
21 |
*
|
22 |
*/
|
23 |
|
24 |
|
25 |
import org.gvsig.tools.library.AbstractLibrary; |
26 |
import org.gvsig.tools.library.LibraryException; |
27 |
import org.gvsig.wmts.swing.api.WMTSSwingLibrary; |
28 |
import org.gvsig.wmts.swing.api.WMTSSwingLocator; |
29 |
|
30 |
/**
|
31 |
* Library for API initialization and configuration.
|
32 |
*
|
33 |
* @author gvSIG team
|
34 |
* @version $Id$
|
35 |
*/
|
36 |
public class WMTSSwingImplLibrary extends AbstractLibrary { |
37 |
|
38 |
@Override
|
39 |
public void doRegistration() { |
40 |
registerAsImplementationOf(WMTSSwingLibrary.class); |
41 |
} |
42 |
|
43 |
@Override
|
44 |
protected void doInitialize() throws LibraryException { |
45 |
// Do nothing
|
46 |
} |
47 |
|
48 |
@Override
|
49 |
protected void doPostInitialize() throws LibraryException { |
50 |
WMTSSwingLocator.registerManager(DefaultWMTSSwingManager.class); |
51 |
} |
52 |
|
53 |
} |