Revision 32285 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/DefaultInstallerCreationWizard.java
DefaultInstallerCreationWizard.java | ||
---|---|---|
35 | 35 |
import jwizardcomponent.DefaultJWizardComponents; |
36 | 36 |
|
37 | 37 |
import org.gvsig.installer.lib.api.InstallerInfo; |
38 |
import org.gvsig.installer.lib.api.creation.InstallerCreationService; |
|
38 | 39 |
import org.gvsig.installer.swing.api.creation.InstallerCreationWizard; |
39 | 40 |
import org.gvsig.installer.swing.impl.InstallerWizardContainer; |
40 | 41 |
import org.gvsig.installer.swing.impl.creation.wizard.AdvancedModeSelectionWizard; |
... | ... | |
51 | 52 |
*/ |
52 | 53 |
public class DefaultInstallerCreationWizard extends InstallerCreationWizard{ |
53 | 54 |
private WizardPanelWithLogo wizardPanelWithLogo = null; |
54 |
private InstallerInfo installerInfoResource = null;
|
|
55 |
private InstallerCreationService installercreationService = null;
|
|
55 | 56 |
|
56 | 57 |
//Wizards |
57 | 58 |
private AdvancedModeSelectionWizard advancedModeSelectionWizard = null; |
... | ... | |
127 | 128 |
} |
128 | 129 |
|
129 | 130 |
|
130 |
/** |
|
131 |
* @return the installerInfoResource |
|
132 |
*/ |
|
133 |
public InstallerInfo getInstallerInfoResource() { |
|
134 |
return installerInfoResource; |
|
135 |
} |
|
136 | 131 |
|
137 |
/** |
|
138 |
* @param installerInfoResource the installerInfoResource to set |
|
139 |
*/ |
|
140 |
public void setInstallerInfoResource(InstallerInfo installerInfoResource) { |
|
141 |
this.installerInfoResource = installerInfoResource; |
|
142 |
} |
|
143 |
|
|
144 | 132 |
public void setAdvancedModeSelected(boolean advancedModeSelected) { |
145 | 133 |
for (int i=getWizardComponents().getWizardPanelList().size()-1 ; i>=3 ; i--){ |
146 | 134 |
getWizardComponents().removeWizardPanel(i); |
... | ... | |
150 | 138 |
} |
151 | 139 |
addLastWizards(); |
152 | 140 |
} |
141 |
|
|
142 |
|
|
143 |
/** |
|
144 |
* @return the installercreationService |
|
145 |
*/ |
|
146 |
public InstallerCreationService getInstallerCreationService() { |
|
147 |
return installercreationService; |
|
148 |
} |
|
149 |
|
|
150 |
/** |
|
151 |
* @param installercreationService the installercreationService to set |
|
152 |
*/ |
|
153 |
public void setInstallerCreationService( |
|
154 |
InstallerCreationService installercreationService) { |
|
155 |
this.installercreationService = installercreationService; |
|
156 |
} |
|
153 | 157 |
} |
154 | 158 |
|
Also available in: Unified diff