mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-18 04:34:25 +00:00
Added Hex Dump as an option.
This commit is contained in:
parent
c28924ef03
commit
8a920e4cb4
@ -25,6 +25,7 @@ import com.webcodepro.applecommander.storage.AppleWorksWordProcessorFileFilter;
|
||||
import com.webcodepro.applecommander.storage.ApplesoftFileFilter;
|
||||
import com.webcodepro.applecommander.storage.BinaryFileFilter;
|
||||
import com.webcodepro.applecommander.storage.GraphicsFileFilter;
|
||||
import com.webcodepro.applecommander.storage.HexDumpFileFilter;
|
||||
import com.webcodepro.applecommander.storage.IntegerBasicFileFilter;
|
||||
import com.webcodepro.applecommander.storage.TextFileFilter;
|
||||
|
||||
@ -98,6 +99,14 @@ public class ExportFileStartPane extends WizardPane {
|
||||
}
|
||||
});
|
||||
button = new Button(buttonSubpanel, SWT.RADIO);
|
||||
button.setText("Hex Dump");
|
||||
button.setSelection(wizard.getFileFilter() instanceof HexDumpFileFilter);
|
||||
button.addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent e) {
|
||||
wizard.setFileFilter(new HexDumpFileFilter());
|
||||
}
|
||||
});
|
||||
button = new Button(buttonSubpanel, SWT.RADIO);
|
||||
button.setText("ASCII text file");
|
||||
button.setSelection(wizard.getFileFilter() instanceof TextFileFilter);
|
||||
button.addSelectionListener(new SelectionAdapter() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user