Revision 32286 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.swing/org.gvsig.installer.swing.impl/src/main/java/org/gvsig/installer/swing/impl/creation/panel/ProgressPanel.java
ProgressPanel.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import javax.swing.JPanel; |
31 | 31 |
|
32 |
import org.gvsig.installer.lib.api.creation.InstallerCreationServiceException; |
|
32 | 33 |
import org.gvsig.installer.swing.api.SwingInstallerLocator; |
33 | 34 |
import org.gvsig.installer.swing.impl.DefaultSwingInstallerManager; |
34 | 35 |
|
... | ... | |
99 | 100 |
progressLabel.setText(swingInstallerManager.getText("finished")); |
100 | 101 |
} |
101 | 102 |
|
102 |
public void progress(int progress){
|
|
103 |
public void setProgress(int progress){
|
|
103 | 104 |
progressBar.setValue(progress); |
104 | 105 |
} |
106 |
|
|
107 |
public void setExceptionText(InstallerCreationServiceException e) { |
|
108 |
progressLabel.setText(swingInstallerManager.getText("installer_create_output_file_exception")); |
|
109 |
} |
|
105 | 110 |
} |
106 | 111 |
|
Also available in: Unified diff