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.53 date: 2023/11/21 08:27:00
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

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:

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
(comment from inherited method)
/// listValid ifFalse:[self enqueueDelayedUpdateList "updateList"].

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
(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 the other case, postBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses for additional setup after
the view has been built, but not yet opened.

o  release

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

o  updateList
another update already scheduled?


Private classes:

    VariableEntry


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:41:23 GMT