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.16 date: 2016/07/28 13:03:23
user: mawalch
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.


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.1.0.0; WebServer 1.663 at exept.de:8081; Thu, 23 May 2019 19:13:50 GMT