eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ApplicationWithFileHistory':

Home

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

Class: ApplicationWithFileHistory


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--ApplicationWithFileHistory

Package:
stx:libview2
Category:
Interface-Framework
Version:
rev: 1.4 date: 2019/05/16 17:32:28
user: stefan
file: ApplicationWithFileHistory.st directory: libview2
module: stx stc-classLibrary: libview2
Author:
Claus Gittinger

Description:


Support code for applications with a persistent history of 
previously opened files.


Related information:

    StandardSystemView
    WindowGroup
    DeviceWorkstation

Class protocol:

file history support
o  addToFileHistory: aFilename
remember a filename in this classes filehistory

o  directoryForFileHistory
the filename where the history is made persistent

usage example(s):

     self directoryForFileHistory

o  fetchFileHistoryFromPersistentStore

o  fileHistory

o  fileHistoryFilteredForStillExistingFilesDo: aBlock removeNonExisting: aBoolean
remove all non-existing history entries

o  fileHistorySize
defines the number of remembered files in the history

o  initializeFileHistory

o  makeFileHistoryPersistent
remove the remaining keys

o  registryKeyForApplication
HKEY_CURRENT_USER\Software\Exept\SmalltalkX\<appname>

usage example(s):

     self registryKeyForApplication 

o  registryKeyForFileHistory
HKEY_CURRENT_USER\Software\Exept\SmalltalkX\<appName>\History

usage example(s):

     self registryKeyForFileHistory



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 18:12:37 GMT