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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 13:26:17 GMT