Revision 25760

View differences:

trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/incrementabletask/IIncrementable.java
69 69
	 * @return <code>true</code> if this process can be paused, otherwise <code>false</code>
70 70
	 */
71 71
	public boolean isPausable();
72

  
73
	/**
74
	 * <p>Main logic of the process.</p>
75
	 * 
76
	 * <p>If can be canceled, must read the inner <code>cancelProcess</code> attribute, and, if it's <code>true</code>
77
	 *  must finish launching an exception (example: {@link InterruptedException InterruptedException}).</p>
78
	 *  
79
	 * <p>During the process must update the percentage, and can change the label, which indicates what subprocess is
80
	 *  being executed each moment.</p>
81
	 * 
82
	 * @throws InterruptedException if fails the process
83
	 */
84
	public void process() throws InterruptedException, Exception;
85 72
}

Also available in: Unified diff