Rewriting question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Rewriting question

wernerk
Hi,

i have a private rewriting rule. unfortunately it shows up in the lower
pane of the SystemBrowser which makes no sense at all, since it is not
intended for use outside of the program using it. how do i make it
invisible for that part of the systembrowser? and btw where are the
rules collected for that part?

werner


Reply | Threaded
Open this post in threaded view
|

Re: Rewriting question

wernerk
On 06/10/2017 03:37 PM, werner kassens wrote:
> Hi,
>
> i have a private rewriting rule. unfortunately it shows up in the
> lower pane of the SystemBrowser which makes no sense at all, since it
> is not intended for use outside of the program using it. how do i make
> it invisible for that part of the systembrowser? and btw where are the
> rules collected for that part?
>
> werner
i should add that it only shows up after i used it.
werner

Reply | Threaded
Open this post in threaded view
|

Re: Rewriting question

wernerk
On 06/10/2017 04:07 PM, werner kassens wrote:

> On 06/10/2017 03:37 PM, werner kassens wrote:
>> Hi,
>>
>> i have a private rewriting rule. unfortunately it shows up in the
>> lower pane of the SystemBrowser which makes no sense at all, since it
>> is not intended for use outside of the program using it. how do i
>> make it invisible for that part of the systembrowser? and btw where
>> are the rules collected for that part?
>>
>> werner
> i should add that it only shows up after i used it.
> werner
and i use this way:
b:=MyRBTransformationRule new runOnEnvironment: a.
b builder changes do:[:r|r execute].
and afterwards MyRBTransformationRule also appears in the lower
SystemBrowser pane if applicable.

Reply | Threaded
Open this post in threaded view
|

Re: Rewriting question

Nicolai Hess-3-2


2017-06-10 21:16 GMT+02:00 werner kassens <[hidden email]>:
On 06/10/2017 04:07 PM, werner kassens wrote:
On 06/10/2017 03:37 PM, werner kassens wrote:
Hi,

i have a private rewriting rule. unfortunately it shows up in the lower pane of the SystemBrowser which makes no sense at all, since it is not intended for use outside of the program using it. how do i make it invisible for that part of the systembrowser? and btw where are the rules collected for that part?

werner
i should add that it only shows up after i used it.
werner
and i use this way:
b:=MyRBTransformationRule new runOnEnvironment: a.
b builder changes do:[:r|r execute].
and afterwards MyRBTransformationRule also appears in the lower SystemBrowser pane if applicable.


Maybe all transformation rules are defaults to "visible rule classes"
(see ReRuleManager allRules)

@Yuriy
can you check
ReRuleManager classAdded: aClassAddedAnnouncement
I am not sure the     (aClassAddedAnnouncement classAdded isKindOf: RBLintRule) works as intended.
 

Reply | Threaded
Open this post in threaded view
|

Re: Rewriting question

wernerk
Hi Nicolai,
thanks, yes, i can see that basically more or less solves the problem i had.
werner

On 06/12/2017 09:15 AM, Nicolai Hess wrote:


2017-06-10 21:16 GMT+02:00 werner kassens <[hidden email]>:
On 06/10/2017 04:07 PM, werner kassens wrote:
On 06/10/2017 03:37 PM, werner kassens wrote:
Hi,

i have a private rewriting rule. unfortunately it shows up in the lower pane of the SystemBrowser which makes no sense at all, since it is not intended for use outside of the program using it. how do i make it invisible for that part of the systembrowser? and btw where are the rules collected for that part?

werner
i should add that it only shows up after i used it.
werner
and i use this way:
b:=MyRBTransformationRule new runOnEnvironment: a.
b builder changes do:[:r|r execute].
and afterwards MyRBTransformationRule also appears in the lower SystemBrowser pane if applicable.


Maybe all transformation rules are defaults to "visible rule classes"
(see ReRuleManager allRules)

@Yuriy
can you check
ReRuleManager classAdded: aClassAddedAnnouncement
I am not sure the     (aClassAddedAnnouncement classAdded isKindOf: RBLintRule) works as intended.