mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-31 22:30:16 +00:00
Added FilterAdapter mapping for PascalTextFileFilter and
TextFilterAdapter.
This commit is contained in:
parent
c38f2a9c3c
commit
ac5e9673af
@ -49,6 +49,7 @@ import com.webcodepro.applecommander.storage.filters.ApplesoftFileFilter;
|
||||
import com.webcodepro.applecommander.storage.filters.AssemblySourceFileFilter;
|
||||
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.ui.swt.filteradapter.ApplesoftFilterAdapter;
|
||||
import com.webcodepro.applecommander.ui.swt.filteradapter.FilterAdapter;
|
||||
@ -194,6 +195,11 @@ public class FileViewerWindow {
|
||||
"Displays file as an Integer BASIC program (F2)",
|
||||
imageManager.get(ImageManager.ICON_VIEW_AS_BASIC_PROGRAM)
|
||||
));
|
||||
nativeFilterAdapterMap.put(PascalTextFileFilter.class,
|
||||
new TextFilterAdapter(this, "Pascal Text",
|
||||
"Displays file as Pascal text file (F2)",
|
||||
imageManager.get(ImageManager.ICON_VIEW_AS_TEXTFILE)
|
||||
));
|
||||
nativeFilterAdapterMap.put(TextFileFilter.class,
|
||||
new TextFilterAdapter(this, "Text",
|
||||
"Displays file as a text file (F2)",
|
||||
|
Loading…
Reference in New Issue
Block a user