mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-02-28 09:29:53 +00:00
Added constructor to force a certain file filter. Used by context menu
for file view.
This commit is contained in:
parent
a31c317740
commit
c663edc84a
@ -105,6 +105,16 @@ public class FileViewerWindow {
|
||||
this.imageManager = imageManager;
|
||||
this.nativeFilter = fileEntry.getSuggestedFilter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct the file viewer window.
|
||||
*/
|
||||
public FileViewerWindow(Shell parentShell, FileEntry fileEntry, ImageManager imageManager, FileFilter nativeFilter) {
|
||||
this.parentShell = shell;
|
||||
this.fileEntry = fileEntry;
|
||||
this.imageManager = imageManager;
|
||||
this.nativeFilter = nativeFilter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the File Viewer window and display (open) it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user