Revision 42047
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/WizardListenerAdapter.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
import java.io.File; |
32 | 32 |
|
33 |
import javax.swing.JOptionPane; |
|
34 |
|
|
33 | 35 |
import org.gvsig.annotation.swing.AnnotationSwingLocator; |
34 | 36 |
import org.gvsig.annotation.swing.AnnotationSwingManager; |
35 | 37 |
import org.gvsig.gui.beans.wizard.WizardPanel; |
36 | 38 |
import org.gvsig.gui.beans.wizard.WizardPanelActionListener; |
37 | 39 |
import org.gvsig.i18n.Messages; |
40 |
import org.gvsig.tools.task.TaskStatus; |
|
38 | 41 |
|
39 | 42 |
|
40 | 43 |
|
... | ... | |
53 | 56 |
} |
54 | 57 |
|
55 | 58 |
public void cancel(WizardPanel wizardPanel) { |
59 |
TaskStatus taskStatus = annotationCreationServicePanel.getAnnotationCreationService().getTaskStatus(); |
|
60 |
taskStatus.getManager().remove(taskStatus); |
|
56 | 61 |
if (annotationCreationServicePanel.getAnnotationServicePanelActionListener() != null){ |
57 | 62 |
annotationCreationServicePanel.getAnnotationServicePanelActionListener().cancel(annotationCreationServicePanel); |
58 | 63 |
} |
Also available in: Unified diff