<HTML>
<P>Greetings,</P>
<P>I'm trying to play with the refactoring engine through omnibrowser but i want to limit the namespace where the refactoring is applied.</P>
<P>I'm close to do it but i'm stuck with RBNamespaces:<BR>
I need 3 Namespaces created from a -target- class.</P>
<P>"target" is an OBMethodNode&lt;MyClass#myMethod&gt;</P>
<P>1: Smalltalk Root - Easy one (not linked with the class), it's working<BR>
<EM>(RBNamespace new)</EM></P>
<P>2: Class limited namespace - I'm trying to do something like:<BR>
<EM>(RBNamespace onEnvironment: (BrowserEnvironment new forClasses: {target theClass}))</EM></P>
<P>i always get "MessageNotUnderstood: Object class &gt;&gt; definesMethod:" called in RBClass&gt;&gt;definesMethod:<BR>
seems like it dislikes my NameSpace.</P>
<P>3: Category limited namespace - Also not working:<BR>
<EM>(RBNamespace onEnvironment: (CategoryEnvironment new categories: {target theClass category}))</EM></P>
<P>same error.</P>
<P>&nbsp;</P>
<P>Is anybody (skilled with RBNamespaces) so kind as to help me creating my namespace? :)</P>
<P>Thanks<BR>
Antoine</P></HTML>
<BR>