Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.ui / src / main / java / org / gvsig / gui / beans / incrementabletask / IIncrementable.java @ 40561

History | View | Annotate | Download (2.86 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.gui.beans.incrementabletask;
25

    
26

    
27
/* gvSIG. Geographic Information System of the Valencian Government
28
 *
29
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
30
 * of the Valencian Government (CIT)
31
 * 
32
 * This program is free software; you can redistribute it and/or
33
 * modify it under the terms of the GNU General Public License
34
 * as published by the Free Software Foundation; either version 2
35
 * of the License, or (at your option) any later version.
36
 * 
37
 * This program is distributed in the hope that it will be useful,
38
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
39
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
40
 * GNU General Public License for more details.
41
 *  
42
 * You should have received a copy of the GNU General Public License
43
 * along with this program; if not, write to the Free Software
44
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
45
 * MA  02110-1301, USA.
46
 * 
47
 */
48

    
49
/**
50
 * 
51
 *
52
 * @version 20/08/2008
53
 * 
54
 * @author BorSanZa - Borja S?nchez Zamorano (borja.sanchez@iver.es)
55
 */
56
public interface IIncrementable {
57
        /**
58
         * Devuelve el titulo de la ventana IncrementableTask
59
         * @return String
60
         */
61
        public String getTitle();
62

    
63
        /**
64
         * Devuelve el contenido del log de la ventana IncrementableTask
65
         * @return String
66
         */
67
        public String getLog();
68

    
69
        /**
70
         * Devuelve la etiqueta de la ventana IncrementableTask
71
         * @return String
72
         */
73
        public String getLabel();
74
        
75
        /**
76
         * Devuelve el porcentaje de 0 a 100 de la ventana IncrementableTask
77
         * @return int
78
         */
79
        public int getPercent();
80

    
81
        /**
82
         * <p>Determines if this process can be canceled.</p>
83
         * 
84
         * @return <code>true</code> if this process can be canceled, otherwise <code>false</code>
85
         */
86
        public boolean isCancelable();
87

    
88
        /**
89
         * <p>Determines if this process can be paused.</p>
90
         * 
91
         * @return <code>true</code> if this process can be paused, otherwise <code>false</code>
92
         */
93
        public boolean isPausable();
94
}