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.21 date: 2022/02/10 11:52:41
user: cg
file: Tools__LintRuleSelectionDialog.st directory: libtool
module: stx stc-classLibrary: libtool

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

copyright

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

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:34:06 GMT