|
Class: SystemOrganizer
Object
|
+--SystemOrganizer
- Package:
- stx:libbasic3
- Category:
- Kernel-Support
- Version:
- rev:
1.17
date: 2019/03/03 22:00:03
- user: cg
- file: SystemOrganizer.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
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.
instance creation
-
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.
accessing
-
addCategory: aCategory before: someOtherCategory
-
-
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
|
-
categoryOfElement: aClassName
-
return a classes category;
the argument is the classes name
-
classify: aClassName under: newCategory
-
change a classes category;
the argument is the classes name
-
environment
-
-
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
-
update: something with: anArgument from: changedObject
-
flush cached categories ...
private accessing
-
nameSpace: aNameSpace
-
set the nameSpace - nil is allowed and stands for: any
|