gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.util / org.gvsig.tools.util.impl / src / main / java / org / gvsig / tools / util / impl / ToolsUtilLibraryImpl.java @ 1593
History | View | Annotate | Download (2.05 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or modify it under
|
7 |
* the terms of the GNU General Public License as published by the Free Software
|
8 |
* Foundation; either version 2 of the License, or (at your option) any later
|
9 |
* version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful, but WITHOUT
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
13 |
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
14 |
* details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License along with
|
17 |
* this program; if not, write to the Free Software Foundation, Inc., 51
|
18 |
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19 |
*
|
20 |
* For any additional information, do not hesitate to contact us at info AT
|
21 |
* gvsig.com, or visit our website www.gvsig.com.
|
22 |
*/
|
23 |
package org.gvsig.tools.util.impl; |
24 |
|
25 |
import org.gvsig.filedialogchooser.impl.DefaultFileDialogChooserManager; |
26 |
import org.gvsig.svgsupport.DumbSVGSupportManager; |
27 |
import org.gvsig.tools.library.AbstractLibrary; |
28 |
import org.gvsig.tools.library.Library; |
29 |
import org.gvsig.tools.library.LibraryException; |
30 |
import org.gvsig.tools.util.ToolsUtilLibrary; |
31 |
import org.gvsig.tools.util.ToolsUtilLocator; |
32 |
|
33 |
/**
|
34 |
* {@link Library} for the default tools util implementation.
|
35 |
*
|
36 |
* @author gvSIG team
|
37 |
*/
|
38 |
public class ToolsUtilLibraryImpl extends AbstractLibrary { |
39 |
|
40 |
@Override
|
41 |
public void doRegistration() { |
42 |
super.doRegistration();
|
43 |
registerAsImplementationOf(ToolsUtilLibrary.class); |
44 |
} |
45 |
|
46 |
@Override
|
47 |
protected void doInitialize() throws LibraryException { |
48 |
ToolsUtilLocator.registerDefaultToolsUtilManager(DefaultToolsUtilManager.class); |
49 |
ToolsUtilLocator.registerDefaultFileDialogChooserManager(DefaultFileDialogChooserManager.class); |
50 |
ToolsUtilLocator.registerDefaultSVGSupportManager(DumbSVGSupportManager.class); |
51 |
} |
52 |
|
53 |
@Override
|
54 |
protected void doPostInitialize() throws LibraryException { |
55 |
|
56 |
} |
57 |
|
58 |
} |