Revision 159 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.lib/org.gvsig.vectorediting.lib.prov/org.gvsig.vectorediting.lib.prov.polyline/src/main/java/org/gvsig/vectorediting/lib/prov/polyline/PolylineEditingLibrary.java
PolylineEditingLibrary.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright (C) 2007-2012 gvSIG Association.
|
|
4 |
* Copyright ? 2007-2014 gvSIG Association
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
... | ... | |
21 | 21 |
* For any additional information, do not hesitate to contact us |
22 | 22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
23 | 23 |
*/ |
24 |
|
|
24 | 25 |
package org.gvsig.vectorediting.lib.prov.polyline; |
25 | 26 |
|
26 | 27 |
import org.gvsig.tools.ToolsLocator; |
... | ... | |
38 | 39 |
* @version $Id$ |
39 | 40 |
*/ |
40 | 41 |
public class PolylineEditingLibrary extends AbstractLibrary { |
41 |
|
|
42 |
|
|
42 | 43 |
@Override |
43 | 44 |
public void doRegistration() { |
44 | 45 |
registerAsServiceOf(EditingLibrary.class); |
... | ... | |
56 | 57 |
manager.addProviderFactory(new PolylineEditingProviderFactory()); |
57 | 58 |
manager.addProviderFactory(new PolygonEditingProviderFactory()); |
58 | 59 |
|
59 |
manager.registerIcon("vectorediting-tools", "insert-polygon", this.getClass()
|
|
60 |
.getClassLoader(), this.getClass().getName()); |
|
61 |
manager.registerIcon("vectorediting-tools", "insert-polyline", this.getClass()
|
|
62 |
.getClassLoader(), this.getClass().getName()); |
|
60 |
manager.registerIcon("vectorediting-tools", "insert-polygon", this |
|
61 |
.getClass().getClassLoader(), this.getClass().getName());
|
|
62 |
manager.registerIcon("vectorediting-tools", "insert-polyline", this |
|
63 |
.getClass().getClassLoader(), this.getClass().getName());
|
|
63 | 64 |
|
64 | 65 |
registerTranslations(); |
65 | 66 |
} |
Also available in: Unified diff