|
Class: SystemOrganizer
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
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.
copyrightCOPYRIGHT (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.
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
|