|
Class: ClassList (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::NavigatorModel
|
+--Tools::BrowserList
|
+--Tools::ClassList
|
+--Tools::HierarchicalClassList
|
+--Tools::TestRunner2::ClassList
- Package:
- stx:libtool
- Category:
- Interface-Browsers-New
- Version:
- rev:
1.118
date: 2019/08/12 07:27:53
- user: stefan
- file: Tools__ClassList.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Claus Gittinger (cg@exept.de)
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.
interface specs
-
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
|
-
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
-
aspectSelectors
-
This resource specification was automatically generated
by the UIPainter of ST/X.
accessing
-
markApplications
-
return the value of the instance variable 'markApplications' (automatically generated)
-
markApplications: something
-
set the value of the instance variable 'markApplications' (automatically generated)
-
unloadedClassesColor
-
return the value of the instance variable 'unloadedClassesColor' (automatically generated)
-
unloadedClassesColor: something
-
set the value of the instance variable 'unloadedClassesColor' (automatically generated)
aspects
-
addOwnerClasses
-
-
addOwnerClasses: aBooleanValueHolder
-
-
classLabelHolder
-
-
classList
-
-
classNameList
-
-
currentNamespace: aValueHolder
-
-
doubleClick
-
-
hidePrivateClasses
-
-
hidePrivateClasses: aValueHolder
-
-
markApplicationsHolder
-
-
markApplicationsHolder: aValueHolder
-
-
meta
-
-
meta: aValueHolder
-
(aValueHolder == true or:[aValueHolder == false]) ifTrue:[self halt].
-
selectClass: aClass
-
-
selectedClassNameIndices
-
-
selectedClasses
-
bad name- it's a holder, baby
-
selectedClasses: aValueHolder
-
bad name- its a holder, baby
-
sortByNameAndInheritance
-
-
sortByNameAndInheritance: something
-
set the 'sortByNameAndInheritance' value holder (automatically generated)
change & update
-
classDefinitionChanged: aClassOrNil
-
if that class is in my list ...
-
classIsInList: cls
-
-
classRemoved: aClass
-
-
delayedUpdate: something with: aParameter from: changedObject
-
(self slaveMode value == true) ifTrue:[^ self].
-
enqueueDelayedClassSelectionChanged
-
-
getSelectedClassIndicesFromClasses
-
the class selection has changed;
return a collection of selection-indices
-
getSelectedClassesFromIndices
-
the selection-index collection has changed;
return a collection of corresponding classes
-
selectedClassesChanged
-
this may happen during early startup,
-
selectionChanged
-
the lists selection has changed. Since the list uses indices,
update the corresponding selectedClasses collection
-
selectionChangedByClick
-
we are not interested in that - get another notification
via the changed valueHolder
-
update: something with: aParameter from: changedObject
-
not visible ...
drag & drop
-
canDropContext: aDropContext
-
-
classAtTargetPointOf: aDropContext
-
-
doDropContext: aDropContext
-
generators
-
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).
-
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
-
outGeneratorHolderForMethods
-
-
outGeneratorHolderForMethods: something
-
-
updateOutputGenerator
-
create a generator which enumerates my elements,
and place it into the outputGenerator holder
initialize-release
-
release
-
private
-
listOfClasses
-
packageFilter := self packageFilter value.
usage example(s):
JV@2011-08-07: FIXME: Ugly code, hard to extend! And duplicated in listOfClassesByInheritance !!!!
|
-
listOfClassesByInheritance
-
TODO: needs refatoring and common code extract with listOfClasses,
but I have no time at the moment...
-
makeDependent
-
-
makeIndependent
-
-
nameListForClasses: aClassList
-
if no filter, always show the namespace.
-
reconstructNameList
-
only reconstruct the names - class list & selection remains unschanged.
Invoked when the organizerMode mode changes
-
updateClassesIn: aCollection
-
replace any obsolete class in aCollection;
return true, if any was found
-
updateList
-
no need to tell anybody
-
updateListsFor: aClass
-
selective update of a single entry (avoid full rescan)
private-presentation
-
colorForCoverageInformationOfClass: aClass
-
no need to search further...
-
iconForClass: aClass
-
-
indentPerPrivacyLevel
-
-
nameListEntryFor: aClass withNameSpace: useFullName
-
always show the full name
-
nameListIndentStringFor: aClass
-
queries
-
supportsSearch
-
setup
-
autoSelect: aBoolean
-
-
classFilterBlock: aBlock
-
use this to filter away unwanted packages
-
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 that case, postBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses for additional setup after
the view has been built, but not yet opened.
|