Added "Pascal Text..." to the export context menu.

This commit is contained in:
Robert Greene 2004-06-17 03:04:19 +00:00
parent fb00760486
commit c38f2a9c3c

View File

@ -83,6 +83,7 @@ import com.webcodepro.applecommander.storage.filters.ApplesoftFileFilter;
import com.webcodepro.applecommander.storage.filters.BinaryFileFilter;
import com.webcodepro.applecommander.storage.filters.GraphicsFileFilter;
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.storage.os.prodos.ProdosDiskSizeDoesNotMatchException;
import com.webcodepro.applecommander.storage.os.prodos.ProdosFormatDisk;
@ -488,6 +489,15 @@ public class DiskExplorerTab {
}
});
item = new MenuItem(menu, SWT.NONE);
item.setText("Pascal Text...");
item.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
fileFilter = new PascalTextFileFilter();
exportFile(null);
}
});
item = new MenuItem(menu, SWT.NONE);
item.setText("AppleWorks Spreadsheet File...");
item.addSelectionListener(new SelectionAdapter() {