Big Tools question - Why no way to "scope" tools to less than
renggli at gmail.com
Mon Jan 7 08:03:02 UTC 2008
> > You can restrict the scope of refactorings using the "open environment"
> > menu item in the class context menu.
> What are the options
> "composition: union | intersection"
> that sometimes appear when you try to open this browser?
These menus only appear when the current scope is not the full image
(which is the default). It allows you to perfom set-operations on
refectory environments. For example if you want to apply a refactoring
to all the classes of a hierarchy within a specific package (but not
to the classes outside the package) you do:
- Select the class
- Press open environment -> class hierarchy
- Select an element from your package
- Press open environment -> package -> intersection
This will intersect the package environment with the one from the hierarchy.
More information about the Squeak-dev