|
Class: LintRuleList (in Tools)
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
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:]
copyrightCopyright (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.
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 ...
|
|