|
Class: FileDialogWithPreview
Object
|
+--Model
|
+--ApplicationModel
|
+--SimpleDialog
|
+--FileDialog
|
+--FileDialogWithPreview
- Package:
- stx:libtool
- Category:
- Interface-Tools-File
- Version:
- rev:
1.20
date: 2024/02/14 18:42:44
- user: stefan
- file: FileDialogWithPreview.st directory: libtool
- module: stx stc-classLibrary: libtool
a FileDialog with (image) preview.
It knows a number of default file types to generate a preview
(which is typically a bitmap image, but may also be text).
For your convenience, it is also pluggable so users of this dialog can
define a previewGenerator, which gets the fileName and can provide an image or text.
Typically to show the author, revision info etc. of the selected file.
copyrightCOPYRIGHT (c) 2011 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:FileDialogWithPreview andSelector:#windowSpec
FileDialogWithPreview new openInterface:#windowSpec
FileDialogWithPreview open
|
plugIn spec
-
aspectSelectors
-
This resource specification was automatically generated
by the UIPainter of ST/X.
accessing
-
previewExtractAction: aBlock
-
if set, this will be asked for the preview;
should return either a string or an image.
Allows for pluggable preview if the dialog-user knows more...
actions
-
playAudio: aFilename
-
aspects
-
imageViewVisibleHolder
-
-
noPreviewTextHolder
-
-
noPreviewVisibleHolder
-
-
otherPreviewApp
-
currently unused
-
otherPreviewVisibleHolder
-
-
previewTextHolder
-
-
previewVisibleHolder
-
-
textViewVisibleHolder
-
change & update
-
fileSelectionChanged
-
(comment from inherited method)
the name in the entry field
-
showPreviewImage: anImage
-
-
showPreviewText: someText
-
-
updateFileInfoOrPreview
-
initialization
-
commonPostOpen
-
(comment from inherited method)
self windowGroup addPreEventHook:self.
-
initialize
-
(comment from inherited method)
false
-
postBuildImageView: aView
-
-
postBuildTextView: aView
-
|