eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Dolphin::FileDialog':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: FileDialog (in Dolphin)


Inheritance:

   Object
   |
   +--Dolphin::FileDialog
      |
      +--Dolphin::FileOpenDialog
      |
      +--Dolphin::FileSaveDialog

Package:
stx:libcompat
Category:
Compatibility-Dolphin
Version:
rev: 1.3 date: 2017/06/08 12:02:04
user: mawalch
file: Dolphin__FileDialog.st directory: libcompat
module: stx stc-classLibrary: libcompat

Class protocol:

queries
o  allFilesType


Instance protocol:

setup
o  caption: aTitle
self new
caption:'Select a file'

o  defaultExtension: aString
self new
defaultExtension:'st'

o  fileTypes: descriptions
each descriptions element consists of 2 elements:
a textual description
a matchPattern (usually on the suffix)
usage example(s):
     self new
        fileTypes:(Array
                        with: #('PalmOS Resource Databases (*.prc)' '*.prc')
                        with: #('Smalltalk source files (*.st)' '*.st')
                        with: FileDialog allFilesType)

o  value: aString
self new
value:'st'

startup
o  showModal
failReturn
usage example(s):
     FileOpenDialog new
            fileTypes:Package packageFileDialogTypes;
            defaultExtension: 'st';
            value: 'foo';
            caption: 'Open File: foo';
            showModal
usage example(s):
     FileOpenDialog new
            fileTypes:Package packageFileDialogTypes;
            value: 'foo';
            caption: 'Open File: foo';
            showModal



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 22 Jul 2018 06:48:58 GMT