Added "Pascal text file" as an export format option.

This commit is contained in:
Robert Greene 2004-06-17 03:01:53 +00:00
parent f166a8d7e0
commit fb00760486

View File

@ -35,6 +35,7 @@ import com.webcodepro.applecommander.storage.filters.BinaryFileFilter;
import com.webcodepro.applecommander.storage.filters.GraphicsFileFilter;
import com.webcodepro.applecommander.storage.filters.HexDumpFileFilter;
import com.webcodepro.applecommander.storage.filters.IntegerBasicFileFilter;
import com.webcodepro.applecommander.storage.filters.PascalTextFileFilter;
import com.webcodepro.applecommander.storage.filters.TextFileFilter;
import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
@ -115,6 +116,14 @@ public class ExportFileStartPane extends WizardPane {
}
});
button = new Button(buttonSubpanel, SWT.RADIO);
button.setText("Pascal text file");
button.setSelection(wizard.getFileFilter() instanceof PascalTextFileFilter);
button.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
wizard.setFileFilter(new PascalTextFileFilter());
}
});
button = new Button(buttonSubpanel, SWT.RADIO);
button.setText("Applesoft BASIC file");
button.setSelection(wizard.getFileFilter() instanceof ApplesoftFileFilter);
button.addSelectionListener(new SelectionAdapter() {