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.87 date: 2024/04/09 12:33:38
user: stefan
file: Tools__ClassCategoryList.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


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

copyright

COPYRIGHT (c) 2004 by 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.

Class protocol:

interface specs
o  singleCategoryWindowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:Tools::ClassCategoryList andSelector:#singleCategoryWindowSpec
     Tools::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

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

o  forceUpdateList
(comment from inherited method)
|listView|

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
helper for something (methods) being dragged to somewhere in me

o  doDropContext: aDropContext

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

initialize-release
o  commonPostBuild
(comment from inherited method)
/// listValid ifFalse:[self enqueueDelayedUpdateList "updateList"].

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

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
another update already scheduled?

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:40:09 GMT