diff --git a/src/com/webcodepro/applecommander/ui/swt/ExportFileStartPane.java b/src/com/webcodepro/applecommander/ui/swt/ExportFileStartPane.java index fc6a97b..45ecb6f 100644 --- a/src/com/webcodepro/applecommander/ui/swt/ExportFileStartPane.java +++ b/src/com/webcodepro/applecommander/ui/swt/ExportFileStartPane.java @@ -20,6 +20,7 @@ package com.webcodepro.applecommander.ui.swt; import com.webcodepro.applecommander.storage.AppleWorksDataBaseFileFilter; +import com.webcodepro.applecommander.storage.AppleWorksSpreadSheetFileFilter; import com.webcodepro.applecommander.storage.AppleWorksWordProcessorFileFilter; import com.webcodepro.applecommander.storage.ApplesoftFileFilter; import com.webcodepro.applecommander.storage.BinaryFileFilter; @@ -137,6 +138,14 @@ public class ExportFileStartPane extends WizardPane { } }); button = new Button(buttonSubpanel, SWT.RADIO); + button.setText("AppleWorks Spread Sheet file"); + button.setSelection(wizard.getFileFilter() instanceof AppleWorksSpreadSheetFileFilter); + button.addSelectionListener(new SelectionAdapter() { + public void widgetSelected(SelectionEvent e) { + wizard.setFileFilter(new AppleWorksSpreadSheetFileFilter()); + } + }); + button = new Button(buttonSubpanel, SWT.RADIO); button.setText("Graphic file..."); button.setEnabled(graphicsFileFilter.isCodecAvailable()); button.setSelection(wizard.getFileFilter() instanceof GraphicsFileFilter);