|
Class: MethodRewriter (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::MethodRewriter
- Package:
- stx:libtool
- Category:
- Interface-Tools
- Version:
- rev:
1.34
date: 2019/03/09 21:22:20
- user: cg
- file: Tools__MethodRewriter.st directory: libtool
- module: stx stc-classLibrary: libtool
example templates
-
templateReplaceAtIfAbsentByAtAifAbsentPut
-
automagically added to templates because my name starts with 'template'
-
templateReplaceErrorMayProceedByProceedableError
-
automagically added to templates because my name starts with 'template'
-
templateReplaceIfNilByIsNilIfTrue
-
automagically added to templates because my name starts with 'template'
-
templateReplaceIfNotNilByNotNilIfTrue
-
automagically added to templates because my name starts with 'template'
-
templateReplaceIsNilOrEmptyCollectionByIsEmptyOrNil
-
automagically added to templates because my name starts with 'template'
-
templateReplaceSelfHaltBySelfBreakPoint
-
automagically added to templates because my name starts with 'template'
-
templateReplaceSelfHaltBySelfError
-
automagically added to templates because my name starts with 'template'
-
templates
-
finds all methods here, which start with 'template'
usage example(s):
help specs
-
helpSpec
-
This resource specification was automatically generated
by the UIHelpTool of ST/X.
interface specs
-
classesSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#classesSpec
Tools::MethodRewriter new openInterface:#classesSpec
|
-
howToUseSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#howToUseSpec
Tools::MethodRewriter new openInterface:#howToUseSpec
|
-
rulesSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#rulesSpec
Tools::MethodRewriter new openInterface:#rulesSpec
|
-
searchAndReplaceSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#searchAndReplaceSpec
Tools::MethodRewriter new openInterface:#searchAndReplaceSpec
|
-
searchPatternHelpSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#searchPatternHelpSpec
Tools::MethodRewriter new openInterface:#searchPatternHelpSpec
|
-
templatesSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#templatesSpec
Tools::MethodRewriter new openInterface:#templatesSpec
|
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::MethodRewriter andSelector:#windowSpec
Tools::MethodRewriter new openInterface:#windowSpec
Tools::MethodRewriter open
|
list specs
-
tabList
-
This resource specification was automatically generated
by the TabListEditor of ST/X.
usage example(s):
TabListEditor new openOnClass: self andSelector:#tabList
|
accessing
-
classes
-
-
classes: aCollectionOfClasses
-
-
info: aString
-
-
progress: anInteger
-
-
projects: aCollection
-
-
replacePattern
-
-
replacePattern: pattern
-
-
ruleTemplate
-
-
rules
-
construct a pseudo list from existing transformation rules
usage example(s):
-
searchPattern
-
-
searchPattern: pattern
-
-
selectedClasses
-
-
selectedRule
-
-
selectedRuleSpec
-
-
selectedTemplate
-
-
templates
-
actions
-
addAllPackagesAction
-
-
addAllYourPackagesAction
-
-
addPackageAction
-
-
doRewrite: methodsMatching
-
collect in order to have only one change in the undo-list (instead of many)
-
doRewriteAction
-
-
doSearchAction
-
-
removeSeletedClassesAction
-
-
useAsRuleAction
-
-
useAsTemplateAction
-
ad hoc
aspects
-
actionInProgressHolder
-
-
adHocFindAndReplaceVisibleHolder
-
-
classesInfoTextHolder
-
-
howToUseRewriteToolURL
-
-
infoHolder
-
-
isMethodPatternHolder
-
-
progressHolder
-
-
ruleExecutionVisibleHolder
-
-
ruleNameHolder
-
-
ruleNameList
-
-
ruleSearchAndReplacePatternHolder
-
-
searchPatternHelpURL
-
-
selectedClassesHolder
-
-
selectedRuleIndex
-
-
selectedTabIndex
-
-
selectedTemplateIndex
-
-
tabList
-
Generated by the TabListEditor
-
templateNameList
-
-
templateReplacePatternHolder
-
-
templateReplacePatternIsEditable
-
-
templateSearchPatternHolder
-
-
templateSearchPatternIsEditable
-
change & update
-
classesChanged
-
flush
-
selectedRuleIndexChanged
-
entries are:
-
selectedTemplateIndexChanged
-
entries are:
drag & drop
-
canDropClasses: dropContext
-
I accept classes, methods and packages
-
doDropClasses: dropContext
-
I accept classes, methods and packages
hooks
-
postBuildFindTextView: scrollableView
-
-
postBuildReplaceTextView: scrollableView
-
private
-
actionInProgress: aBoolean
-
-
doSearchPattern: pattern withResultDo: block
-
addMethod := [:aNode :answer | matchingMethods add:currentMethod ].
-
doSearchRule: rule withResultDo: block
-
-
methods
-
-
methods: aCollection
-
to explicitly set the set of methods to be processed
-
methodsForClasses
-
-
methodsMatchingPattern: searchPattern
-
-
methodsMatchingRule: rule
-
matches:searchPattern do:[:aNode :answer | matchingMethods add:mth ];
-
methodsToSearchOrAbortIfNone
-
-
showMethods: methods title: title
-
open a browser on matching methods
-
withMethods: givenMethods do: methodBlock
-
-
withMethods: methods do: methodBlock finallyDo: finallyBlock
-
self actionInProgress: false.
-
withMethodsDo: methodBlock finallyDo: finallyBlock
-
testing method
-
testXXX
-
|