Navigation:  Programming Cookbook > Chunk Files > Dolphin's Chunks >

Classes

Previous pageReturn to chapter overviewNext page

Classes are defined with the following expression:

Object subclass: #SourceManager

instanceVariableNames: 'imagePath imageStamp '

      classVariableNames: 'ChangesIndex ChunkTerminator DefaultInstance SourcesIndex '

      poolDictionaries: ''!

 

This is the same as the standard except the category of the class is not set at this stage. Dolphin allows a class to belong to a number of class categories.

!SourceManager categoriesForClass!Change Control!Kernel-Change! !

 

This will make the SourceManager belong to both the supplied categories. If the #categoriesForClass message was not sent to the class it is placed in the 'No category' class category.