Revision 34396 branches/v2_0_0_prep/libraries/org.gvsig.symbology/org.gvsig.symbology.lib/org.gvsig.symbology.lib.impl/src/main/java/org/gvsig/symbology/impl/SymbologyDefaultImplLibrary.java
SymbologyDefaultImplLibrary.java | ||
---|---|---|
26 | 26 |
*/ |
27 | 27 |
package org.gvsig.symbology.impl; |
28 | 28 |
|
29 |
import org.gvsig.symbology.SymbologyLibrary; |
|
29 | 30 |
import org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractClassifiedVectorLegend; |
30 | 31 |
import org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractIntervalLegend; |
31 | 32 |
import org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractLegend; |
... | ... | |
73 | 74 |
/** |
74 | 75 |
* Library for the Basic Symbology implementation. |
75 | 76 |
* |
76 |
* @author <a href="mailto:cordinyana@gvsig.org">C?sar Ordi?ana</a>
|
|
77 |
* @author gvSIG team
|
|
77 | 78 |
*/ |
78 | 79 |
public class SymbologyDefaultImplLibrary extends AbstractLibrary { |
80 |
|
|
81 |
public SymbologyDefaultImplLibrary() { |
|
82 |
super(SymbologyLibrary.class, TYPE.IMPL); |
|
83 |
} |
|
79 | 84 |
|
80 |
// private Logger LOG = LoggerFactory.getLogger(SymbologyDefaultImplLibrary.class); |
|
85 |
protected void doInitialize() throws LibraryException { |
|
86 |
Caller caller = new DefaultCaller(); |
|
87 |
caller.add(new DefaultSymbologyManager.RegisterSymbologyManager()); |
|
88 |
if (!caller.call()) { |
|
89 |
throw new LibraryException(SymbologyDefaultImplLibrary.class, |
|
90 |
caller.getExceptions()); |
|
91 |
} |
|
92 |
} |
|
81 | 93 |
|
82 |
protected void doInitialize() throws LibraryException { |
|
83 |
// Nothing to do |
|
84 |
} |
|
85 |
|
|
86 | 94 |
protected void doPostInitialize() throws LibraryException { |
87 | 95 |
Caller caller = new DefaultCaller(); |
88 | 96 |
|
... | ... | |
169 | 177 |
caller.add(new LabelClass.RegisterPersistence()); |
170 | 178 |
caller.add(new DefaultLabelingMethod.RegisterPersistence()); |
171 | 179 |
caller.add(new AttrInTableLabelingStrategy.RegisterPersistence()); |
172 |
|
|
173 |
/* |
|
174 |
* Add registry of the default symbology manager |
|
175 |
*/ |
|
176 |
caller.add(new DefaultSymbologyManager.RegisterSymbologyManager()); |
|
177 |
|
|
178 | 180 |
|
179 | 181 |
/* |
180 | 182 |
* Do register of all |
Also available in: Unified diff