eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::MethodList':

Home

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

Class: MethodList (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::NavigatorModel
            |
            +--Tools::BrowserList
               |
               +--Tools::MethodList
                  |
                  +--Tools::ImplementingClassList
                  |
                  +--Tools::ImplementingMethodList

Package:
stx:libtool
Category:
Interface-Browsers-New
Version:
rev: 1.201 date: 2024/04/09 12:34:17
user: stefan
file: Tools__MethodList.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


I implement the method list in the new system browser

copyright

COPYRIGHT (c) 2000 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:

image specs
o  hideNameFilterIcon
^ ToolbarIconLibrary hideFilterBlue16x16Icon

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

Usage example(s):

     UIPainter new openOnClass:Tools::MethodList andSelector:#singleMethodWindowSpec
     Tools::MethodList new openInterface:#singleMethodWindowSpec

o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:Tools::MethodList andSelector:#windowSpec
     Tools::MethodList new openInterface:#windowSpec
     Tools::MethodList open

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


Instance protocol:

aspects
o  browserNameList

o  defaultSlaveModeValue

o  filterClassVars

o  filterClassVars: aValueHolder

o  methodLabelHolder

o  methodList

o  nameFilterPatternHolder

o  nameFilterTypeHolder

o  reselectCallback: aBlockOrNil
if set, it will be called whwn the selected method is clicked on again.
the browser will ask the codeView to search forward if there is a string filter

o  selectedMethodNameIndices

o  selectedMethods

o  selectedMethods: aValueHolder

o  showImageResourceMethodsImages

o  showImageResourceMethodsImages: aValueHolder

o  showMethodComplexity

o  showMethodComplexity: aValueHolder

o  showMethodInheritance

o  showMethodInheritance: aValueHolder

o  showMethodTypeIcon

o  showMethodTypeIcon: aValueHolder

o  showNameFilterHolder
the selector/name filter

o  showNameFilterHolder: aValueHolder

o  showSyntheticMethods

o  showSyntheticMethods: aValueHolder

o  variableFilter

o  variableFilter: aValueHolder

change & update
o  delayedUpdate: something with: aParameter from: changedObject
I don't care for that class

o  hideNameFilter

o  selectedMethodsChanged
the set of selected methods has changed;
update the selection-index collection (for the selectionInListView)

o  selectionChanged
to allow reselect, change my valueHolder, even if the same collection

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

o  update: something with: aParameter from: changedObject
some can be ignored immediately

drag & drop
o  canDropContext: aDropContext
I can receive methods (from another browser) and image filenames

o  doDropContext: aDropContext

initialization & release
o  initialize

private
o  isMethodToBeShown: aMethod
invoked, when we get a change for aMethod which was previously not
in the list (for example, if I show a filtered list).
Check if that single method is to be shown now.
Used to speed up update for senders/string/implementors lists

o  isNameFilterMatchingSelector: sel method: mthd
true if the method matches the current nameFilter.
The namefilter is one of:
S/Ss - show methods where the selector matches / matches case ignoring
T/Tt - show methods containing a string with case / case ignoring
M/Mm - show methods sending a message with case / case ignoring
-xx - negation; which do not match

o  listOfMethodNames
allSelectors

o  makeDependent
ChangeSet addDependent:self.

o  makeIndependent
ChangeSet removeDependent:self.

o  method: mthd includesModsOfClassVariable: variablesToHighLight

o  method: mthd includesModsOfInstanceVariable: variablesToHighLight

o  method: mthd includesRefsToClassVariable: variablesToHighLight

o  method: mthd includesRefsToInstanceVariable: variablesToHighLight

o  method: mthd includesRefsToVariable: variablesToHighLight askParserWith: querySelector
no need to parse

o  methodIsInheritedFromAbove: aMethod

o  methodIsRedefinedBelow: aMethod
if possible, make use of info prepared by listOfMethodNames

o  redefinedOrInheritedIconFor: aMethod

o  release

o  setOfAllSelectorsImplementedBelow: aClass

o  sortEntries: entries showingClass: doShowClass
Modified (format): / 03-03-2019 / 22:58:17 / Claus Gittinger

o  updateList
another update already scheduled?

o  updateListEntryFor: aMethod
update my list for a single method.
(used when a single methods package, code or whatever changes, and a full udpate
would be too slow)

private-presentation
o  colorForCoverageInformationOfMethod: aMethod

o  iconForMethod: methodOrNil class: classOrNil selector: selector

o  listEntryForMethod: aMethod selector: selector class: cls showClass: showClass showCategory: showCategory classFirst: showClassFirst
answer a method list entry
gimmics:
adding a little image to breakPointed methods,
inheritance indicators,
highlight accessors of variable

o  listEntryForMethod: aMethod selector: selector class: cls showClass: showClass showCategory: showCategory classFirst: showClassFirst suppressInheritanceInfo: suppressInheritanceInfo
answer a method list entry
gimmics:
adding a little image to breakPointed methods,
inheritance indicators,
highlight accessors of variable

o  resourceIconForMethod: aMethod

private-watching
o  startWatchProcess

o  stopWatchProcess

setup
o  postBuildWith: aBuilder
Modified (format): / 25-11-2017 / 12:08:30 / cg



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:55:15 GMT