Revision 32633 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/wizard/SelectPluginsWizard.java
SelectPluginsWizard.java | ||
---|---|---|
32 | 32 |
import org.gvsig.installer.lib.api.execution.InstallPackageService; |
33 | 33 |
import org.gvsig.installer.swing.impl.InstallerWizardPanel; |
34 | 34 |
import org.gvsig.installer.swing.impl.execution.DefaultInstallPackageWizard; |
35 |
import org.gvsig.installer.swing.impl.execution.model.PluginsTableModel;
|
|
35 |
import org.gvsig.installer.swing.impl.execution.model.PackagesTableModel;
|
|
36 | 36 |
import org.gvsig.installer.swing.impl.execution.panel.SelectPluginsPanel; |
37 | 37 |
|
38 | 38 |
/** |
... | ... | |
67 | 67 |
public void updatePanel() { |
68 | 68 |
InstallPackageService installerExecutionService = |
69 | 69 |
installerExecutionWizard.getInstallerExecutionService(); |
70 |
PluginsTableModel officialPluginsTableModel = new PluginsTableModel(swingInstallerManager,
|
|
70 |
PackagesTableModel officialPluginsTableModel = new PackagesTableModel(swingInstallerManager,
|
|
71 | 71 |
installerExecutionService, true); |
72 |
PluginsTableModel notOfficialPluginsTableModel = new PluginsTableModel(swingInstallerManager,
|
|
72 |
PackagesTableModel notOfficialPluginsTableModel = new PackagesTableModel(swingInstallerManager,
|
|
73 | 73 |
installerExecutionService, false); |
74 |
updateTableModel(officialPluginsTableModel, notOfficialPluginsTableModel); |
|
75 |
|
|
74 |
updateTableModel(officialPluginsTableModel, notOfficialPluginsTableModel);
|
|
75 |
checkIfPluginSelected(); |
|
76 | 76 |
} |
77 |
|
|
78 |
@Override |
|
79 |
public void checkIfPluginSelected() { |
|
80 |
installerExecutionWizard.setNextButtonEnabled(isPackageSelected()); |
|
81 |
} |
|
82 |
|
|
83 |
|
|
77 | 84 |
} |
78 | 85 |
|
Also available in: Unified diff