|
Class: BrowserList (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::NavigatorModel
|
+--Tools::BrowserList
|
+--Tools::BrowserListWithFilter
|
+--Tools::ClassCategoryList
|
+--Tools::ClassGeneratorList
|
+--Tools::ClassList
|
+--Tools::LintRuleList
|
+--Tools::MethodCategoryList
|
+--Tools::MethodList
|
+--Tools::NamespaceList
|
+--Tools::ProjectList
|
+--Tools::VariableList
- Package:
- stx:libtool
- Category:
- Interface-Browsers-New
- Version:
- rev:
1.99
date: 2019/03/30 11:24:01
- user: cg
- file: Tools__BrowserList.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Claus Gittinger (cg@exept.de)
embeddable application displaying a browser's list.
I am a pluggable component, which gets an input collection
(typically a generator/iterator), which tells me what to display
in the list.
When an item is selected, I provides a similar outputGenerator,
which enumerates the selected sub-items.
Concrete subclasses exist, to present lists of:
class-categories (and generate a list of classes),
packages (and generate a list of classes),
namespaces (generates a list of classes),
classes (and generate a list of methods+method category,
method-categories (and generate a list of methods),
methods
[instance variables:]
can someone please write a few words here...
menuHolder
inGeneratorHolder
outGeneratorHolder
selectionChangeCondition
immediateUpdate
doubleClickChannel
filter a filterblock by the one who embedds this
updateTrigger
forceGeneratorTrigger
hideUnloadedClasses
showClassPackages
selectionHolder
packageFilter
nameSpaceFilter
organizerMode
slaveMode I am just following passively (used for hidden
organized lists (for example: package list, while hidden
when another mode is active, to prevent it from sending
out change requests etc.)
listValid
pseudoListLabelHolder
icons
sortBy
autoSelect
showAllClassesInNameSpaceOrganisation
nameFilter a string or glob pattern (from the user, if a GUI for that is present)
image specs
-
checkedIcon
-
TODO: cg: ask the checkbox for its icon, to ensure a common look
usage example(s):
self checkedIcon inspect
ImageEditor openOnClass:self andSelector:#checkedIcon
Icon flushCachedIcons
|
-
checkedIconDisabled
-
TODO: cg: ask the checkbox for its icon, to ensure a common look
-
nameSpaceIcon
-
-
packageIcon
-
-
padLockBlueMiniIcon
-
-
padLockGrayMiniIcon
-
-
padLockGreenMiniIcon
-
-
padLockRedMiniIcon
-
-
programImageIcon
-
-
protectedMethod
-
-
uncheckedIcon
-
TODO: cg: ask the checkbox for its icon, to ensure a common look
usage example(s):
self uncheckedIcon inspect
ImageEditor openOnClass:self andSelector:#uncheckedIcon
Icon flushCachedIcons
|
-
uncheckedIconDisabled
-
TODO: cg: ask the checkbox for its icon, to ensure a common look
usage example(s):
self uncheckedIconDisabled inspect
ImageEditor openOnClass:self andSelector:#uncheckedIconDisabled
Icon flushCachedIcons
|
queries
-
isAbstract
-
accessing
-
nameFilter: aStringOrPattern
-
aspects
-
autoUpdateOnChange
-
automatic update of the list, when the system changes.
For some (slow) search lists (such as string-search), autoupdate is
disabled as it would otherwise make the browser unusable.
Those lists need an explicit menu-update action.
-
autoUpdateOnChange: aBoolean
-
automatic update of the list, when the system changes.
For some (slow) search lists (such as string-search), autoupdate is
disabled as it would otherwise make the browser unusable.
Those lists need an explicit menu-update action.
-
defaultSlaveModeValue
-
-
doubleClickChannel
-
-
doubleClickChannel: aChannel
-
-
filter: aValueHolder
-
-
forceGeneratorTrigger
-
-
forceGeneratorTrigger: aTriggerValue
-
-
hideUnloadedClasses
-
-
hideUnloadedClasses: aValueHolder
-
-
menuHolder
-
-
menuHolder: aValueHolder
-
-
nameSpaceFilter
-
-
nameSpaceFilter: aValueHolder
-
-
organizerMode
-
-
organizerMode: aValueHolder
-
-
packageFilter
-
debug-check only
usage example(s):
packageFilter onChangeEvaluate:[packageFilter value isValueModel ifTrue:[self halt:'debug halt']].
|
-
packageFilter: aValueHolder
-
debug-check only
-
pseudoListLabelHolder
-
-
selectionChangeCondition: aBlockOrValueHolder
-
-
selectionHolder
-
-
selectionHolder: aValueHolder
-
update
-
showAllClassesInNameSpaceOrganisation
-
-
showAllClassesInNameSpaceOrganisation: aValueHolder
-
-
showClassPackages
-
-
showClassPackages: aValueHolder
-
-
showCoverageInformation
-
-
showCoverageInformation: aValueHolder
-
-
slaveMode
-
-
slaveMode: aValueHolder
-
-
sortBy
-
-
sortBy: aValueHolder
-
-
updateTrigger
-
-
updateTrigger: aTriggerValue
-
change & update
-
applicationIsActive
-
true if I am the active view
-
delayedUpdate: something with: aParameter from: changedObject
-
if any of my subclasses want those, they should look for them.
-
enqueueDelayedUpdateList
-
-
enqueueDelayedUpdateOutputGenerator
-
listValid := false.
-
environmentChanged
-
(comment from inherited method)
My environment has changed. Update cached environment value.
Subclasses may need to override and invalidate it's contents.
-
forceReselect
-
-
forceSelectionClear
-
-
forceUpdateList
-
|listView|
-
immediateUpdate: aBooleanOrBooleanHolder
-
-
prioDelayedUpdate: something with: aParameter from: changedObject
-
-
selectionChangeAllowed
-
-
selectionChanged
-
self updateOutputGenerator.
-
selectionChangedByClick
-
-
syncDelayedUpdateList
-
-
update: something with: aParameter from: changedObject
-
must check, as it could be nested...
-
updateListInBackground
-
drag & drop
-
canDrop: aDropContext
-
-
doDrop: aDropContext
-
-
dropClassFiles: files
-
-
objectsAreClassFiles: objects
-
generators
-
inGeneratorHolder
-
-
inGeneratorHolder: aConditionBlockHolder
-
self window shown
-
makeGenerator
-
** This method raises an error - it must be redefined in concrete classes **
-
outGeneratorHolder
-
-
outGeneratorHolder: aConditionBlockHolder
-
-
updateOutputGenerator
-
create a generator which enumerates my elements,
and place it into the outputGenerator holder
icons
-
abstractMethodIcon
-
answer an icon to mark abstract methods
-
breakPointedIcon
-
answer an icon to mark breakPointed methods
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
canvasIcon
-
answer an icon to mark canvas spec methods
-
deprecatedMethodIcon
-
-
disabledBreakpointIcon
-
answer an icon to mark methods with disabled breakpoints
-
fetchIcon: name selector: fetchSelector
-
answer an icon to mark methods
-
fileImageIcon
-
answer an icon to mark file-image spec methods
-
fullBreakPointedIcon
-
answer an icon to mark breakPointed methods
-
helpIcon
-
answer an icon to mark help spec methods
-
hierarchicalListIcon
-
answer an icon to mark hierarchicalList spec methods
-
ignoredMethodIcon
-
answer an icon to mark ignored methods
-
imageIcon
-
answer an icon to mark image spec methods
-
instrumentationIcon
-
answer an icon to mark instrumented methods
-
lineBreakPointedIcon
-
answer an icon to mark breakPointed methods
-
lineTracePointedIcon
-
answer an icon to mark tracePointed methods
-
menuIcon
-
answer an icon to mark menu spec methods
-
methodEmptyInheritedIcon
-
-
methodInheritedFromAboveAndRedefinedBelowIcon
-
-
methodInheritedFromAboveIcon
-
-
methodIsSubclassResponsibilityAndRedefinedBelowIcon
-
-
methodIsSubclassResponsibilityIcon
-
-
methodRedefinedBelowIcon
-
-
privateMethodIcon
-
answer an icon to mark private methods
-
programImageIcon
-
answer an icon to mark image spec methods
-
programMenuIcon
-
answer an icon to mark program generated menu methods
-
protectedMethodIcon
-
answer an icon to mark protected methods
-
stopIcon
-
answer an icon to mark breakPointed methods
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
tabListIcon
-
answer an icon to mark tabList spec methods
-
tableColumnsIcon
-
answer an icon to mark tableColumns spec methods
-
timeIcon
-
answer an icon to mark timed methods
-
traceIcon
-
answer an icon to mark traced methods
initialize-release
-
commonPostBuild
-
/// listValid ifFalse:[self enqueueDelayedUpdateList "updateList"].
-
commonPostOpen
-
self breakPoint:#cg.
-
initialize
-
-
release
-
(comment from inherited method)
remove all references to objects that may refer to self.
Subclasses may redefine this method but should do a 'super release'.
misc
-
invalidateList
-
private
-
browserNameList
-
-
classesToProcessForClasses: classes withVisibility: visibility
-
for methodCategory and methodList, depending on the setting
of visibility (allButObject, includeAllSupers or class only),
return a combined hull set of classes for a given set.
-
colorize: aString with: emphasis
-
-
colorizeForChangedCode: someString
-
-
colorizeForChangedCodeInSmallTeam: someString
-
-
colorizeForDifferentPackage: someString
-
-
colorizeForInstrumentedFullyCoveredCode: someString
-
-
colorizeForInstrumentedNeverCalledCode: someString
-
-
colorizeForInstrumentedPartiallyCoveredCode: someString
-
-
colorizeGrey: someString
-
-
emphasizeForChangedCode: someString
-
-
emphasizeForDifferentPackage: someString
-
allItalic
-
executeInBackground: aBlock
-
used to update when I do not have the focus (i.e. being iconified or non-active).
Run aBlock at userBackgroundPrio, but go back to normal prio, if I get the focus
-
inSlaveMode
-
-
inSlaveModeOrInvisible
-
self slaveMode value isNil ifTrue:[
-
isClass: aClass shownWithNameSpaceFilter: nameSpaceFilter
-
-
isClass: aClass shownWithPackageFilter: packageFilter
-
-
makeDependent
-
** This method raises an error - it must be redefined in concrete classes **
-
makeIndependent
-
** This method raises an error - it must be redefined in concrete classes **
-
releaseAsSubCanvas
-
(comment from inherited method)
a subcanvas is closed or switching to a new application.
Can be redefined to perform a self release in this case.
-
setListValid: aBoolean
-
-
updateList
-
-
updateListFor: newList
-
update the browsers list in a way which avoids scrolls
and flicker; returns true, if the newList is the same.
queries
-
supportsSearch
-
setup
-
autoSelect: aBoolean
-
SearchHandler
|