eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SystemOrganizer':

Home

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

Class: SystemOrganizer


Inheritance:

   Object
   |
   +--SystemOrganizer

Package:
stx:libbasic3
Category:
Kernel-Support
Version:
rev: 1.18 date: 2021/01/20 15:26:25
user: cg
file: SystemOrganizer.st directory: libbasic3
module: stx stc-classLibrary: libbasic3

Description:


In ST80, there is a systemOrganization, which groups classes
to categories.
All of this here is mimicri - ST/X keeps the category in the class.
This class simulates the ST80 behavior.

copyright

COPYRIGHT (c) 1998 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.

Class protocol:

instance creation
o  for: aNameSpaceOrNil
create & return a new instance of myself, to organize aNameSpace.
All of this here is mimicri - ST/X keeps the category in the class.


Instance protocol:

accessing
o  addCategory: aCategory before: someOtherCategory

o  categories
return a collection of my classes class-categories.
If my nameSpace is nil, all classes' categories are included;
otherwise, only the categories of that particular namespace.

Usage example(s):

     (SystemOrganizer for:nil) categories 
     (SystemOrganizer for:Smalltalk) categories 
     (SystemOrganizer for:Demos) categories 

o  categoryOfElement: aClassName
return a classes category;
the argument is the classes name

o  classify: aClassName under: newCategory
change a classes category;
the argument is the classes name

o  environment

o  listAtCategoryNamed: aCategory
return a collection of classes in aCategory.

Usage example(s):

     (SystemOrganizer for:nil) listAtCategoryNamed:'Collections-Abstract' 
     (SystemOrganizer for:Smalltalk) listAtCategoryNamed:'Collections-Abstract' 
     (SystemOrganizer for:Demos) listAtCategoryNamed:'Collections-Abstract' 

change & update
o  update: something with: anArgument from: changedObject
flush cached categories ...

private accessing
o  nameSpace: aNameSpace
set the nameSpace - nil is allowed and stands for: any



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:29:34 GMT