File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ RewriteRuleBuilderPresenter class >> iconName [
55
55
RewriteRuleBuilderPresenter class >> menuCommandOn: aBuilder [
56
56
57
57
< worldMenu>
58
- (aBuilder item: ' RewriteRuleBuilder' )
58
+ (aBuilder item: ' RewriteRuleBuilder (preview) ' )
59
59
parent: #Tools ;
60
60
action: [ self open ];
61
61
order: 33 ;
@@ -253,7 +253,7 @@ RewriteRuleBuilderPresenter >> initializePresenters [
253
253
RewriteRuleBuilderPresenter >> initializeWindow: aWindowPresenter [
254
254
255
255
aWindowPresenter
256
- title: self class title;
256
+ title: self class title, ' (Preview version) ' ;
257
257
initialExtent: 840 @ 650 ;
258
258
windowIcon: self class icon;
259
259
askOkToClose: false ;
@@ -389,12 +389,15 @@ RewriteRuleBuilderPresenter >> rhs: aString [
389
389
{ #category : #actions }
390
390
RewriteRuleBuilderPresenter >> saveRule [
391
391
392
- ^ RTCustomRuleGenerator new
393
- searchFor: self lhs;
394
- replaceWith: self rhs;
395
- inputCode: self inputCode;
396
- outputCode: self outputCode;
397
- storeRule: loadedRule className isForMethod: false
392
+ | ruleHolder |
393
+ ruleHolder := RTRuleHolder
394
+ lhs: self lhs
395
+ rhs: self rhs
396
+ isForMethod: false
397
+ inputCode: self inputCode
398
+ outputCode: self outputCode.
399
+
400
+ ^ RTRuleSaver storeRuleOnDisk: ruleHolder
398
401
]
399
402
400
403
{ #category : #accessing }
You can’t perform that action at this time.
0 commit comments