Revision 44044 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/java/org/gvsig/export/swing/impl/DefaultJExportProcessPanel.java
DefaultJExportProcessPanel.java | ||
---|---|---|
59 | 59 |
import org.gvsig.export.swing.spi.ExportPanels; |
60 | 60 |
import org.gvsig.export.swing.spi.ExportPanelsFactory; |
61 | 61 |
import org.gvsig.export.swing.spi.ExportPanelsManager; |
62 |
import org.gvsig.gui.beans.wizard.WizardPanelWithLogo; |
|
62 | 63 |
import org.gvsig.gui.beans.wizard.panel.OptionPanel; |
63 | 64 |
|
64 | 65 |
/** |
... | ... | |
79 | 80 |
private final Set<ExportFinishListener> finishListeners; |
80 | 81 |
private WizardPanelWithLogo wizardPanel; |
81 | 82 |
private WizardPanelActionListener wizardListener; |
83 |
private int lastAction; |
|
82 | 84 |
|
83 | 85 |
|
84 | 86 |
public DefaultJExportProcessPanel( |
... | ... | |
120 | 122 |
} |
121 | 123 |
|
122 | 124 |
private void addPanel(ExportPanel panel) { |
123 |
OptionPanel optionPanel = new WizardOptionPanelAdapter(panel); |
|
125 |
OptionPanel optionPanel = new WizardOptionPanelAdapter(this, panel);
|
|
124 | 126 |
this.wizardPanel.addOptionPanel(optionPanel); |
125 | 127 |
} |
126 | 128 |
|
... | ... | |
334 | 336 |
return this.getButton(button).getText(); |
335 | 337 |
} |
336 | 338 |
|
339 |
public void setLastAcction(int action) { |
|
340 |
this.lastAction = action; |
|
341 |
} |
|
342 |
|
|
343 |
public int getLastAction() { |
|
344 |
return this.lastAction; |
|
345 |
} |
|
346 |
|
|
347 |
@Override |
|
348 |
public void nextPanel() { |
|
349 |
this.wizardPanel.doAction(WizardPanelWithLogo.ACTION_NEXT); |
|
350 |
} |
|
351 |
|
|
352 |
@Override |
|
353 |
public void previousPanel() { |
|
354 |
this.wizardPanel.doAction(WizardPanelWithLogo.ACTION_PREVIOUS); |
|
355 |
} |
|
356 |
|
|
337 | 357 |
} |
Also available in: Unified diff