Revision 36679 branches/v2_0_0_prep/libraries/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.api/src/main/java/org/gvsig/annotation/AnnotationCreationService.java

View differences:

AnnotationCreationService.java
25 25
import org.gvsig.annotation.calculator.AnnotationPositionCalculator;
26 26
import org.gvsig.fmap.dal.exception.DataException;
27 27
import org.gvsig.fmap.dal.feature.FeatureStore;
28
import org.gvsig.tools.task.MonitorableTask;
28 29

  
29 30
/**
30
 * Represents a Annotation element.
31
 * 
31
 * <p>
32
 * This service is used to create an annotation layer.
33
 * </p>
34
 * <p>
35
 * It inherits if {@link MonitorableTask}, and it means that the annotation 
36
 * process can be monitorized by one or more observers that can listen
37
 * all the export events.
38
 * <p>
32 39
 * @author gvSIG team
33 40
 * @version $Id$
34 41
 */
35
public interface AnnotationCreationService {
42
public interface AnnotationCreationService extends MonitorableTask {
36 43

  
37 44
	/**
38 45
	 * @return
......
65 72
	 * if there is an error creating the annotation store. 
66 73
	 */
67 74
    public FeatureStore createAnnotationStore(String destinationShapeFile, String textValueAttributeName) throws AnnotationCreationException;   
68
        
69
    /**
70
     * Sets the {@link AnnotationCreationServiceNotification} used to notify the progress of the
71
     * annotation creation.
72
     * @param annotationCreationServiceNotification
73
     * the {@link AnnotationCreationServiceNotification} to set.
74
     */
75
    public void setAnnotationCreationServiceNotification(AnnotationCreationServiceNotification annotationCreationServiceNotification);
76 75
    
77 76
    /**
78
     * @return
79
     * the {@link AnnotationCreationServiceNotification} used in the annotation creation process.
80
     */
81
    public AnnotationCreationServiceNotification getAnnotationCreationServiceNotification();
82
    
83
    /**
84 77
     * Sets the {@link AnnotationCreationFinishAction} that is used at the end
85 78
     * of the annotation creation service. 
86 79
     * @param annotationCreationFinishAction

Also available in: Unified diff