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 @ 1741
History | View | Annotate | Download (2.91 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.library.AbstractLibrary; |
26 |
import org.gvsig.tools.library.Library; |
27 |
import org.gvsig.tools.library.LibraryException; |
28 |
import org.gvsig.tools.swing.api.ToolsSwingLibrary; |
29 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
30 |
import org.gvsig.tools.swing.impl.component.DefaultComponentSwingManager; |
31 |
import org.gvsig.tools.swing.impl.dialogreminder.DefaultDialogReminderManager; |
32 |
import org.gvsig.tools.swing.impl.icontheme.DefaultIconThemeManager; |
33 |
import org.gvsig.tools.swing.impl.task.DefaultTaskStatusSwingManager; |
34 |
import org.gvsig.tools.swing.impl.threadsafedialogs.DefaultThreadSafeDialogsManager; |
35 |
import org.gvsig.tools.swing.impl.usability.DefaultUsabilitySwingManager; |
36 |
import org.gvsig.tools.swing.impl.windowmanager.DefaultWindowManager; |
37 |
|
38 |
/**
|
39 |
* {@link Library} for the default tools swing implementation.
|
40 |
*
|
41 |
* @author gvSIG team
|
42 |
*/
|
43 |
public class ToolsSwingDefaultImplLibrary extends AbstractLibrary { |
44 |
|
45 |
@Override
|
46 |
public void doRegistration() { |
47 |
super.doRegistration();
|
48 |
registerAsImplementationOf(ToolsSwingLibrary.class); |
49 |
} |
50 |
|
51 |
@Override
|
52 |
protected void doInitialize() throws LibraryException { |
53 |
ToolsSwingLocator.registerToolsSwingManager(DefaultToolsSwingManager.class); |
54 |
ToolsSwingLocator.registerUsabilitySwingManager(DefaultUsabilitySwingManager.class); |
55 |
ToolsSwingLocator.registerTaskStatusSwingManager(DefaultTaskStatusSwingManager.class); |
56 |
ToolsSwingLocator.registerComponentSwingManager(DefaultComponentSwingManager.class); |
57 |
ToolsSwingLocator.registerDefaultWindowManager(DefaultWindowManager.class); |
58 |
ToolsSwingLocator.registerDefaultIconThemeManager(DefaultIconThemeManager.class); |
59 |
ToolsSwingLocator.registerDefaultThreadSafeDialogsManager(DefaultThreadSafeDialogsManager.class); |
60 |
ToolsSwingLocator.registerDefaultDialogReminderManager(DefaultDialogReminderManager.class); |
61 |
} |
62 |
|
63 |
@Override
|
64 |
protected void doPostInitialize() throws LibraryException { |
65 |
|
66 |
} |
67 |
} |