Revision 191 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.union/src/main/java/org/gvsig/geoprocess/algorithm/union/UnionLibrary.java

View differences:

UnionLibrary.java
20 20
 */
21 21
package org.gvsig.geoprocess.algorithm.union;
22 22

  
23
import es.unex.sextante.core.Sextante;
24

  
25 23
import org.gvsig.geoprocess.algorithm.base.core.AlgorithmAbstractLibrary;
26 24
import org.gvsig.i18n.Messages;
27 25
import org.gvsig.tools.library.LibraryException;
28 26

  
29 27
/**
30
 * Initialization of UnionLibrary library. 
28
 * Initialization of UnionLibrary library.
31 29
 * 
32 30
 * @author <a href="mailto:nachobrodin@gmail.com">Nacho Brodin</a>
33 31
 */
34 32
public class UnionLibrary extends AlgorithmAbstractLibrary {
35 33

  
36
	@Override
37
	protected void doInitialize() throws LibraryException {
38
		
39
	}
34
    @Override
35
    protected void doInitialize() throws LibraryException {
40 36

  
41
	@Override
42
	protected void doPostInitialize() throws LibraryException {
43
		Messages.addResourceFamily(
44
				"org.gvsig.geoprocess.algorithm.union.union",
45
				UnionLibrary.class.getClassLoader(),
46
				UnionLibrary.class.getClass().getName());
47
		setLanguageStrings("org.gvsig.geoprocess.algorithm.union.union");
48
        Sextante.addGeoalgorithm("gvSIG", UnionAlgorithm.class, text);
49
	}
37
    }
50 38

  
39
    @Override
40
    protected void doPostInitialize() throws LibraryException {
41
        Messages.addResourceFamily(
42
            "org.gvsig.geoprocess.algorithm.union.union", UnionLibrary.class
43
                .getClassLoader(), UnionLibrary.class.getClass().getName());
44
        registerGeoProcess(UnionAlgorithm.class,
45
            getLanguageStrings("org.gvsig.geoprocess.algorithm.union.union"));
46
    }
47

  
51 48
}

Also available in: Unified diff