eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::ClassList':

Home

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

Class: ClassList (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::NavigatorModel
            |
            +--Tools::BrowserList
               |
               +--Tools::ClassList
                  |
                  +--Tools::HierarchicalClassList
                  |
                  +--Tools::TestRunner2::ClassList

Package:
stx:libtool
Category:
Interface-Browsers-New
Version:
rev: 1.111 date: 2018/03/15 10:46:18
user: cg
file: Tools__ClassList.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Claus Gittinger (cg@exept.de)

Description:


embeddable application displaying the classes as listed by
the inputGenerator.
Provides an outputGenerator, which enumerates the classes and
their protocols (method-categories) in the selected classes.


Class protocol:

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

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

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


Instance protocol:

accessing
o  markApplications
return the value of the instance variable 'markApplications' (automatically generated)

o  markApplications: something
set the value of the instance variable 'markApplications' (automatically generated)

o  unloadedClassesColor
return the value of the instance variable 'unloadedClassesColor' (automatically generated)

o  unloadedClassesColor: something
set the value of the instance variable 'unloadedClassesColor' (automatically generated)

aspects
o  addOwnerClasses

o  addOwnerClasses: aBooleanValueHolder

o  classLabelHolder

o  classList

o  classNameList

o  currentNamespace: aValueHolder

o  doubleClick

o  hidePrivateClasses

o  hidePrivateClasses: aValueHolder

o  markApplicationsHolder

o  markApplicationsHolder: aValueHolder

o  meta

o  meta: aValueHolder
(aValueHolder == true or:[aValueHolder == false]) ifTrue:[self halt].

o  selectClass: aClass

o  selectedClassNameIndices

o  selectedClasses
bad name- it's a holder, baby

o  selectedClasses: aValueHolder
bad name- its a holder, baby

o  sortByNameAndInheritance

o  sortByNameAndInheritance: something
set the 'sortByNameAndInheritance' value holder (automatically generated)

change & update
o  classDefinitionChanged: aClassOrNil
if that class is in my list ...

o  classIsInList: cls

o  classRemoved: aClass

o  delayedUpdate: something with: aParameter from: changedObject
(self slaveMode value == true) ifTrue:[^ self].

o  enqueueDelayedClassSelectionChanged

o  getSelectedClassIndicesFromClasses
the class selection has changed;
return a collection of selection-indices

o  getSelectedClassesFromIndices
the selection-index collection has changed;
return a collection of corresponding classes

o  selectedClassesChanged
this may happen during early startup,

o  selectionChanged
the lists selection has changed. Since the list uses indices,
update the corresponding selectedClasses collection

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

o  update: something with: aParameter from: changedObject
not visible ...

drag & drop
o  canDropContext: aDropContext

o  classAtTargetPointOf: aDropContext

o  doDropContext: aDropContext

generators
o  makeGenerator
return a generator which enumerates the method categories from the selected class;
that generator generates 2-element elements (includes the class), in order
to make the consumers only depend on one input (i.e. no need for another
classHolder in the methodList).

o  makeGeneratorForMethods
return a generator which enumerates the methods directly from the selected class;
that generator generates 4-element elements (includes the class, category, selector and method).
Can be used as an in-generator of methodlists

o  outGeneratorHolderForMethods

o  outGeneratorHolderForMethods: something

o  updateOutputGenerator
create a generator which enumerates my elements,
and place it into the outputGenerator holder

initialize-release
o  release

private
o  listOfClasses
packageFilter := self packageFilter value.
usage example(s):
JV@2011-08-07: FIXME: Ugly code, hard to extend! And duplicated in listOfClassesByInheritance !!!!

o  listOfClassesByInheritance
TODO: needs refatoring and common code extract with listOfClasses,
but I have no time at the moment...

o  makeDependent

o  makeIndependent

o  nameListForClasses: aClassList
if no filter, always show the namespace.

o  reconstructNameList
only reconstruct the names - class list & selection remains unschanged.
Invoked when the organizerMode mode changes

o  updateClassesIn: aCollection
replace any obsolete class in aCollection;
return true, if any was found

o  updateList
no need to tell anybody

o  updateListsFor: aClass
selective update of a single entry (avoid full rescan)

private-presentation
o  colorForCoverageInformationOfClass: aClass
no need to search further...

o  iconForClass: aClass

o  indentPerPrivacyLevel

o  nameListEntryFor: aClass withNameSpace: useFullName
always show the full name

o  nameListIndentStringFor: aClass

queries
o  supportsSearch

setup
o  autoSelect: aBoolean

o  classFilterBlock: aBlock
use this to filter away unwanted packages

o  postBuildWith: aBuilder



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 19 May 2019 06:31:27 GMT