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.162 date: 2019/07/31 11:14:53
user: cg
file: Tools__MethodList.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


I implement the method list in the new system browser


Class protocol:

image specs
o  hideNameFilterIcon

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

usage example(s):

     UIPainter new openOnClass:MethodList andSelector:#singleMethodWindowSpec
     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  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

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
self browserNameList value:newList.

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  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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 16 Apr 2021 11:13:49 GMT