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  beAccessible
set accessible;
means: is readable (again)

o  beInAccessible
set not accessible;
means: not readable or was removed in the meantime (shown in red then)

o  children
returns the collection of children or nil

o  icon
returns the icon

o  label
returns the printable name, the baseName

o  makeIconGray: aBoolean
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
(comment from inherited method)
hide all my subitems

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 indicator 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  canExpand
in case we are currently fetching the subdirectory

o  hasChildren
returns true if children exist.
I assume that there are children, until proved otherwise.

o  isDirectory
always true here

o  isInAccessible
answer true if the directory is not accessible.
means: not readable or was removed in the meantime (shown in red then)

o  isInAccessible: aBoolean
set to true if the directory is not accessible.
means: not readable or was removed in the meantime (shown in red then)

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 23 Nov 2024 14:52:41 GMT