|
Class: LintRuleSelectionDialog (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--SimpleDialog
|
+--Tools::LintRuleSelectionDialog
- Package:
- stx:libtool
- Category:
- Interface-Lint
- Version:
- rev:
1.19
date: 2018/02/24 12:14:53
- user: stefan
- file: Tools__LintRuleSelectionDialog.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Jan Vrany <jan.vrany@fit.cvut.cz>
A dialog to select SmallLint rules.
[example:]
| dialog rules |
dialog := Tools::LintRuleSelectionDialog new.
dialog open.
dialog accepted ifTrue:[
rules := dialog selectionAsRule
] ifFalse:[
Dialog warn: 'Canceled...'.
].
[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::LintRuleSelectionDialog andSelector:#windowSpec
Tools::LintRuleSelectionDialog new openInterface:#windowSpec
Tools::LintRuleSelectionDialog open
|
accessing
-
selection
-
-
selection: anObject
-
-
selectionAsRule
-
actions
-
hideResultView
-
-
showResultView
-
aspects
-
allRulesHolder
-
-
canAcceptHolder
-
Modified (comment): / 27-11-2014 / 09:17:11 / Jan Vrany <jan.vrany@fit.cvut.cz>
-
listSelection
-
return/create the 'listSelection' value holder (automatically generated)
-
listSelection: something
-
set the 'listSelection' value holder (automatically generated)
-
modeHolder
-
-
selectionHolder
-
return/create the 'selectionHolder' value holder (automatically generated)
callbacks - post build
-
postBuildVariablePanel: aPanel
-
Ask user to select some SmallLint rules
| dialog rules |
dialog := Tools::LintRuleSelectionDialog new.
dialog open.
dialog accepted ifTrue:[
rules := dialog selectionAsRule
].
rules inspect.
|
more examples to be added:
... add code fragment for
... executable example here ...
|
|