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

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.

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  singleClassWindowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:Tools::ClassList andSelector:#singleClassWindowSpec
     Tools::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  currentNamespace: aValueHolder

** This is an obsolete interface - do not use it (it may vanish in future versions) **

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

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
(comment from inherited method)
this is sent after an interface is built from a spec,
but only iff the appModel is not the same as the topView's app
(i.e. if it is not a build for the same appModel again).
In the other case, postBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses for additional setup after
the view has been built, but not yet opened.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 08:50:19 GMT