Revision 30580 branches/v2_0_0_prep/libraries/libFMap_dalfile/src/org/gvsig/fmap/dal/store/dgn/legend/DGNLegendLibrary.java

View differences:

DGNLegendLibrary.java
34 34
import org.gvsig.tools.ToolsLocator;
35 35
import org.gvsig.tools.dynobject.DynClass;
36 36
import org.gvsig.tools.dynobject.DynObjectManager;
37
import org.gvsig.tools.locator.BaseLibrary;
38
import org.gvsig.tools.locator.ReferenceNotRegisteredException;
37
import org.gvsig.tools.library.LibraryException;
38
import org.gvsig.tools.library.impl.BaseLibrary;
39 39

  
40 40
/**
41 41
 * @author jmvivo
......
43 43
 */
44 44
public class DGNLegendLibrary extends BaseLibrary {
45 45

  
46
//	public static final String DXFLEGEND_DYNCLASS_NAME = "DXFLegend";
47

  
48
	public void initialize() throws ReferenceNotRegisteredException {
49
		super.initialize();
46
	@Override
47
	protected void doInitialize() throws LibraryException {
50 48
	}
51 49

  
52
	public void postInitialize() throws ReferenceNotRegisteredException {
53
		super.postInitialize();
54

  
50
	@Override
51
	protected void doPostInitialize() throws LibraryException {
55 52
		DynObjectManager dynMan = ToolsLocator.getDynObjectManager();
56 53
		DynClass dynClass = dynMan.get(DGNStoreProvider.DYNCLASS_NAME);
57 54

  
......
59 56
			dynClass = dynMan.add(DGNStoreProvider.DYNCLASS_NAME);
60 57
		}
61 58

  
62

  
63

  
64

  
65 59
		DGNGetLegendBuilder.register(dynClass);
66 60
		DGNGetLegend.register(dynClass);
67 61
		DGNGetLabeling.register(dynClass);
68

  
69

  
70

  
71 62
	}
72

  
73
}
63
}

Also available in: Unified diff