eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::ClassCategoryList':

Home

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

Class: ClassCategoryList (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::NavigatorModel
            |
            +--Tools::BrowserList
               |
               +--Tools::ClassCategoryList
                  |
                  +--Tools::HierarchicalClassCategoryList

Package:
stx:libtool
Category:
Interface-Browsers-New
Version:
rev: 1.70 date: 2017/02/13 19:43:10
user: cg
file: Tools__ClassCategoryList.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Claus Gittinger (cg@exept.de)

Description:


embeddable application displaying the class-categories.
Provides an outputGenerator, which enumerates the classes in
the selected categories.


Class protocol:

interface specs
o  singleCategoryWindowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:ClassCategoryList andSelector:#singleCategoryWindowSpec
     ClassCategoryList new openInterface:#singleCategoryWindowSpec

o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:Tools::ClassCategoryList andSelector:#windowSpec
     Tools::ClassCategoryList new openInterface:#windowSpec
     Tools::ClassCategoryList open

plugIn spec
o  aspectSelectors
This resource specification was automatically generated
by the UIPainter of ST/X.

special
o  addAdditionalCategory: aCategory
those are simulated - in ST/X, empty categories do not

o  removeAdditionalCategories: aListOfCategories
those are simulated - in ST/X, empty categories do not

o  removeAllAdditionalCategories
those are simulated - in ST/X, empty categories do not

o  renameAdditionalCategories: oldNames to: newName
those are simulated - in ST/X, empty categories do not


Instance protocol:

aspects
o  categoryList

o  categoryList: aValueHolder

o  classCategoryLabelHolder

o  selectedCategories

o  selectedCategories: aValueHolder

o  selectionHolder
self halt.

o  selectionHolder: aValueHolder
self halt.

change & update
o  delayedUpdate: something with: aParameter from: changedObject
if many individual method changes arrive (when loading a package or filing in),

o  forceUpdateList

o  selectionChangedByClick
we are not interested in that - get another notification
via the changed valueHolder

o  update: something with: aParameter from: changedObject
may affect me

drag & drop
o  canDropContext: aDropContext

o  categoryAtTargetPointOf: aDropContext

o  doDropContext: aDropContext

generators
o  makeGenerator
return a generator which enumerates the classes from the selected category.

initialize-release
o  commonPostBuild

o  commonPostOpen
self enqueueMessage:#updateSelectionIndexFromSelection for:self arguments:nil. "/ #().

o  postBuildCategoryListView: aView
string

private
o  colorizeCategoryAsChanged: category
OLD CODE

o  listOfCategories
those are simulated - in ST/X, empty categories do not

o  listView

o  makeDependent

o  makeIndependent

o  makeItemVisible: item

o  makeSelectionOtherThanAllVisible
the first item after the *all* item

o  release

o  selectedCategoriesStrings
selectedCategories := selectedCategories

o  stringForExtensions

o  updateList
copy

o  xUpdateOutputGenerator
self updateOutputGenerator

private-presentation
o  listEntryForCategory: cat
only called after an individual method's change,
and this is the very first change for that class, to update the list entry.
Don't ever call this for every category to avoid O(n^2) behavior on the number of classes,
because this method enumerates all classes in the environment

o  listEntryForCategory: cat numClasses: numClasses showCounts: showCounts pseudoEntryColor: pseudoEntryColor hasLocalChangedCode: isInLocalChangeSet hasRemoteChangedCode: isInRemoteChangeSet hasExtensions: hasExtensions
cannot add a + here - need separate list for presentation and filter

special
o  addAdditionalCategory: aCategory
those are simulated - in ST/X, empty categories do not

o  removeAdditionalCategories: aListOfCategories

o  removeAllAdditionalCategories

o  renameAdditionalCategories: oldNames to: newName
those are simulated - in ST/X, empty categories do not



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 20 Mar 2019 23:22:18 GMT