gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.swing / org.gvsig.tools.swing.impl / src / main / java / org / gvsig / tools / swing / impl / ToolsSwingDefaultImplLibrary.java @ 1125
History | View | Annotate | Download (2.62 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.swing.impl; |
24 |
|
25 |
import org.gvsig.tools.dataTypes.DataTypes; |
26 |
import org.gvsig.tools.library.AbstractLibrary; |
27 |
import org.gvsig.tools.library.Library; |
28 |
import org.gvsig.tools.library.LibraryException; |
29 |
import org.gvsig.tools.service.spi.ServiceManager; |
30 |
import org.gvsig.tools.swing.api.ToolsSwingLibrary; |
31 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
32 |
import org.gvsig.tools.swing.impl.component.DefaultComponentSwingManager; |
33 |
import org.gvsig.tools.swing.impl.icontheme.DefaultIconThemeManager; |
34 |
import org.gvsig.tools.swing.impl.task.DefaultTaskStatusSwingManager; |
35 |
import org.gvsig.tools.swing.impl.usability.DefaultUsabilitySwingManager; |
36 |
import org.gvsig.tools.swing.impl.windowmanager.DefaultWindowManager; |
37 |
|
38 |
|
39 |
/**
|
40 |
* {@link Library} for the default tools swing implementation.
|
41 |
*
|
42 |
* @author gvSIG team
|
43 |
*/
|
44 |
public class ToolsSwingDefaultImplLibrary extends AbstractLibrary { |
45 |
|
46 |
@Override
|
47 |
public void doRegistration() { |
48 |
super.doRegistration();
|
49 |
registerAsImplementationOf(ToolsSwingLibrary.class); |
50 |
} |
51 |
|
52 |
@Override
|
53 |
protected void doInitialize() throws LibraryException { |
54 |
ToolsSwingLocator |
55 |
.registerUsabilitySwingManager(DefaultUsabilitySwingManager.class); |
56 |
ToolsSwingLocator |
57 |
.registerTaskStatusSwingManager(DefaultTaskStatusSwingManager.class); |
58 |
ToolsSwingLocator |
59 |
.registerWindowManager(DefaultWindowManager.class); |
60 |
ToolsSwingLocator.registerIconThemeManager(DefaultIconThemeManager.class); |
61 |
|
62 |
ToolsSwingLocator.registerComponentSwingManager( |
63 |
DefaultComponentSwingManager.class); |
64 |
|
65 |
} |
66 |
|
67 |
@Override
|
68 |
protected void doPostInitialize() throws LibraryException { |
69 |
|
70 |
} |
71 |
} |