|
Class: LintRuleSelectionDialog (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--SimpleDialog
|
+--Tools::LintRuleSelectionDialog
- Package:
- stx:libtool
- Category:
- Interface-Lint
- Version:
- rev:
1.21
date: 2022/02/10 11:52:41
- user: cg
- file: Tools__LintRuleSelectionDialog.st directory: libtool
- module: stx stc-classLibrary: libtool
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:]
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::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 ...
|
|