eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::LintRuleSelectionDialog':

Home

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

Class: LintRuleSelectionDialog (in Tools)


Inheritance:

   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>

Description:


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:]


Related information:



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


Instance protocol:

accessing
o  selection

o  selection: anObject

o  selectionAsRule

actions
o  hideResultView

o  showResultView

aspects
o  allRulesHolder

o  canAcceptHolder
Modified (comment): / 27-11-2014 / 09:17:11 / Jan Vrany <jan.vrany@fit.cvut.cz>

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

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

o  modeHolder

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

callbacks - post build
o  postBuildVariablePanel: aPanel


Examples:


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 ...


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 23 Mar 2019 08:26:11 GMT