eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::VariableList':

Home

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

Class: VariableList (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::NavigatorModel
            |
            +--Tools::BrowserList
               |
               +--Tools::VariableList

Package:
stx:libtool
Category:
Interface-Browsers-New
Version:
rev: 1.47 date: 2018/10/21 17:42:24
user: cg
file: Tools__VariableList.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


I implement the variable list (below class list) in the new system browser


Class protocol:

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

usage example(s):

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

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


Instance protocol:

aspects
o  classHolder

o  classHolder: aValueHolder

o  defaultSlaveModeValue

o  groupVariablesByInheritance
groupVariablesByInheritance and sortVariablesByName form a 3-state value

usage example(s):

groupVariablesByInheritance sortVariablesByName

o  groupVariablesByInheritance: aValueHolder
self assert:(aValueHolder value isBoolean).

o  selectedVariableEntries
automatically generated by UIPainter ...

o  selectedVariables

o  selectedVariables: aValueHolder

o  showClassVarsInVariableList

o  showClassVarsInVariableList: aValueHolder

o  showingInheritedClassVars
^ true

o  sortVariablesByName
groupVariablesByInheritance and sortVariablesByName form a 3-state value

usage example(s):

groupVariablesByInheritance sortVariablesByName

o  sortVariablesByName: aValueHolder
self assert:(aValueHolder value isBoolean).

o  variableList

change & update
o  delayedUpdate: something with: aParameter from: changedObject
self invalidateList.

o  makeDependent

o  makeIndependent

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

o  update: something with: aParameter from: changedObject
^ self delayedUpdate:something with:aParameter from:changedObject.

generators
o  makeGenerator

private
o  commonPostBuild

o  commonSubClassIn: classes
return true if there is a common subclass

o  iconInBrowserForVariable: varName in: aClass
variables for which an entry is found in the xml-spec (if any) are marked
with an <xml>-icon.
This is an inexact heuristic; assumes that if the tag matches, that would be an XML entry for it

o  listEntryForClass: cls name: name

o  listEntryForClass: cls name: name info: classInfoOrNil

o  listOfVariables
testing

o  postBuildWith: aBuilder

o  release

o  selectionChangeAllowed: index
and:[entry startsWith:'---']

o  updateList
selectedVariablesHolder value


Private classes:

    VariableEntry


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 27 Apr 2024 02:32:21 GMT