|
Class: LintRuleList (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::NavigatorModel
|
+--Tools::BrowserList
|
+--Tools::LintRuleList
|
+--Tools::HierarchicalLintRuleList
- Package:
- stx:libtool
- Category:
- Interface-Lint
- Version:
- rev:
1.40
date: 2019/07/31 15:40:43
- user: cg
- file: Tools__LintRuleList.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Jan Vrany <jan.vrany@fit.cvut.cz>
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:]
interface specs
-
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
-
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
-
aspectSelectors
-
This resource specification was automatically generated
by the UIPainter of ST/X.
accessing
-
mode
-
-
selection
-
-
selection: aCollectionOrNil
-
aspects
-
filterHolder
-
return/create the 'filterHolder' value holder (automatically generated)
-
filterHolder: something
-
set the 'filterHolder' value holder (automatically generated)
-
listHolder
-
return/create the 'ruleList' value holder (automatically generated)
-
listSelection
-
return/create the 'listSelection' value holder (automatically generated)
-
listSelection: something
-
set the 'listSelection' value holder (automatically generated)
-
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
-
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
-
selectedLintRules
-
-
selectedLintRules: anObject
-
change & update
-
delayedUpdate: something with: aParameter from: changedObject
-
Invoked when an object that I depend upon sends a change notification.
-
selectionChanged
-
listView invalidate
event processing
-
buttonPress: button x: x y: y view: aView
-
-
handlesButtonPress: button inView: aView
-
generators
-
makeGenerator
-
classes removed (in the meanwhile), but still referenced by name in the lintResults
hooks
-
commonPostOpen
-
(comment from inherited method)
self breakPoint:#cg.
-
postBuildList: aView
-
I want to see the events of the list
initialization
-
initialize
-
self selection: Set new.
menu actions
-
menuBrowseRuleClass
-
-
menuInspectRule
-
-
runRuleAgain
-
self updateList.
private
-
listEntryFor: anRBLintRule
-
-
makeDependent
-
nothing to do
-
makeIndependent
-
nothing to do
-
rules: rules includes: rule
-
-
setListValid: aBoolean
-
listValid ifTrue:[
-
updateList
-
newList sort:[:a :b | a name < b name].
queries
-
supportsSearch
-
selection
-
selectionAdd: rule
-
-
selectionIncludes: rule
-
-
selectionRemove: rule
-
ListEntry
Starting the application:
more examples to be added:
... add code fragment for
... executable example here ...
|
|