eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::LintRuleList':

Home

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

Class: LintRuleList (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::NavigatorModel
            |
            +--Tools::BrowserList
               |
               +--Tools::LintRuleList
                  |
                  +--Tools::HierarchicalLintRuleList

Package:
stx:libtool
Category:
Interface-Lint
Version:
rev: 1.49 date: 2023/09/07 21:37:48
user: stefan
file: Tools__LintRuleList.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


Embeddable list to display a set of SmallLint rules.
(this is embedded in the browser when showing lint check outcomes)

Supports 3 modes (controlled by modeHolder)
    #display            - only display given set of rules.
    #displaySelection   - display set of rules and indicate which one is selected
                          by check mark. Does NOT ALLOW to change selection
                          (add remove tools)
    #select             - display set of rules and DO ALLOW to change the selection
                          (add / remove rules) by clicking to check icon     


[instance variables:]

[class variables:]

copyright

Copyright (c) 2007-2010 Jan Vrany, SWING Research Group, Czech Technical University in Prague Copyright (c) 2009-2010 eXept Software AG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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::LintRuleList andSelector:#windowSpec
     Tools::LintRuleList new openInterface:#windowSpec
     Tools::LintRuleList open

menu specs
o  menu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:Tools::LintRuleList andSelector:#menu
     (Menu new fromLiteralArrayEncoding:(Tools::LintRuleList menu)) startUp

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


Instance protocol:

accessing
o  mode

o  selection

o  selection: aCollectionOrNil

aspects
o  filterHolder
return/create the 'filterHolder' value holder (automatically generated)

o  filterHolder: something
set the 'filterHolder' value holder (automatically generated)

o  listHolder
return/create the 'ruleList' value holder (automatically generated)

o  listSelection
return/create the 'listSelection' value holder (automatically generated)

o  listSelection: something
set the 'listSelection' value holder (automatically generated)

o  modeHolder
the mode - can run in select or in display modes.
select is to choose a set of rules;
display for presentation of results (in a browser).
See documentation for details

o  modeHolder: aValueModel
the mode - can run in select or in display modes.
select is to choose a set of rules;
display for presentation of results (in a browser).
See documentation for details

o  selectedLintRules

o  selectedLintRules: anObject

change & update
o  delayedUpdate: something with: aParameter from: changedObject
Invoked when an object that I depend upon sends a change notification.

o  selectionChanged
listView invalidate

event processing
o  buttonPress: button x: x y: y view: aView

o  handlesButtonPress: button inView: aView

generators
o  makeGenerator
classes removed (in the meanwhile), but still referenced by name in the lintResults

hooks
o  commonPostOpen
(comment from inherited method)
self breakPoint:#cg.

o  postBuildList: aView
I want to see the events of the list

initialization
o  initialize
self selection: Set new.

menu actions
o  menuBrowseRuleClass

o  menuInspectRule

o  runRuleAgain
self updateList.

private
o  listEntryFor: anRBLintRule

o  makeDependent
nothing to do

o  makeIndependent
nothing to do

o  rules: rules includes: rule

o  setListValid: aBoolean
listValid ifTrue:[

o  updateList
newList sort:[:a :b | a name < b name].

queries
o  supportsSearch

selection
o  selectionAdd: rule

o  selectionIncludes: rule

o  selectionRemove: rule


Private classes:

    ListEntry

Examples:


Starting the application:
  Tools::LintRuleList open

more examples to be added:
  ... add code fragment for 
  ... executable example here ...


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 08:24:00 GMT