Revision 32517 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/execution/DefaultInstallerExecutionWizard.java
DefaultInstallerExecutionWizard.java | ||
---|---|---|
59 | 59 |
private InstallerExecutionService installerExecutionService = null; |
60 | 60 |
private File applicationDirectory = null; |
61 | 61 |
private static final Logger logger = LoggerFactory.getLogger(DefaultInstallerExecutionWizard.class); |
62 |
private List<InstallerInfo> installersToInstall = null; |
|
63 |
|
|
62 |
private List<InstallerInfo> installersToInstall = null;
|
|
63 |
|
|
64 | 64 |
//Wizards |
65 | 65 |
private SelectInstallersWizard selectInstallersWizard = null; |
66 | 66 |
private SelectPluginsWizard selectPluginsWizard = null; |
... | ... | |
85 | 85 |
private void addWizards(){ |
86 | 86 |
getWizardComponents().addWizardPanel( |
87 | 87 |
new InstallerWizardContainer(getWizardComponents(), |
88 |
selectInstallersWizard)); |
|
88 |
selectInstallersWizard)); |
|
89 |
|
|
89 | 90 |
getWizardComponents().addWizardPanel( |
90 | 91 |
new InstallerWizardContainer(getWizardComponents(), |
91 | 92 |
selectPluginsWizard)); |
... | ... | |
134 | 135 |
public void setNextButtonEnabled(boolean isEnabled){ |
135 | 136 |
getWizardComponents().getNextButton().setEnabled(isEnabled); |
136 | 137 |
} |
138 |
|
|
139 |
@Override |
|
140 |
public void installFromDefaultDirectory() throws InstallerExecutionServiceException { |
|
141 |
getWizardComponents().removeWizardPanel(0); |
|
142 |
installerExecutionService.addInstallersFromInstallDirectory(); |
|
143 |
selectPluginsWizard.updatePanel(); |
|
144 |
} |
|
137 | 145 |
} |
Also available in: Unified diff