eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HierarchicalFileList::Directory':

Home

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

Class: Directory (private in HierarchicalFileList

This class is only visible from within HierarchicalFileList.

Inheritance:

   Object
   |
   +--AbstractHierarchicalItem
      |
      +--AbstractHierarchicalItemWithModel
         |
         +--HierarchicalItem
            |
            +--HierarchicalFileList::HierarchicalFileItem
               |
               +--HierarchicalFileList::Directory
                  |
                  +--HierarchicalFileList::RemoteDirectory

Package:
stx:libwidg2
Category:
Views-Support
Owner:
HierarchicalFileList

Description:


[Instance variables:]

    fetchOperation  <Symbol/Boolean>    nil             if children is nil, no information about has children
                                        #fetching       registered in list to be updated for indication
                                        #hasChildren    registered in list to be updated for indication
                                        #hasNoChildren  has children but children list might be nil (remote)


Class protocol:

initialization
o  initialize
self initialize


Instance protocol:

accessing
o  children
returns the collection of children or nil

o  icon
returns the icon

o  label
returns the printable name, the baseName

o  makeIconGray: something
set/clear the flag which enforces the icon to be shown in grey

o  modificationTime: something

o  readChildren
reads the list of children

accessing-hierarchy
o  collapse

o  expand
expand children; must redefine to raise a notification
if children are not yet initialized and after initialization empty.

o  recursiveExpand
redefined to expand

fetching
o  basicFetchIndicator
do not follow mounted directories automatically (could be an NFS hardlink)

o  fetchIndicator
fetch the indicator value which indicates whether children exist or not.
Called by the indocator update process.

o  resetFetchIndicator
update indication cycle has deregistered the item

private
o  flushChildren
flush the children because the node is going to be invisible.

private-quick children info
o  forgetAboutChildren

o  isChildrenInfoValid

o  isFetchingChildrenInfo

o  isKnownToHaveChildren

o  isKnownToHaveNoChildren

o  knownToHaveChildren: aBoolean

o  setFetchingChildrenInfo

queries
o  beInAccessible

o  canExpand
in case we are currently fetching the subdirectory

o  hasChildren
returns true if children exist

o  isDirectory
always true here

o  isInAccessible
answer true if the directory is not accessible

validation
o  invalidateRepairNow: doRepair
invalidate contents

o  matchBlockChanged
called if the matchBlock changed

o  monitoringCycle
run monitoring cycle
!!!! called by the HierarchicalList only !!!!

o  updateList



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 19:43:48 GMT