Of course it
is easy to change the message-names, but I don't know if
that really helps much. I can life with both conventions, in 'ROE'
the design-pattern and in 'Formulator' a modified refactoring-browser
approach is taken.
Sure I can live with that too, but imagine all the newbie that will
follow my lecture and the lecture of roel, so this is only a cosmetic
change but it is really worth because it helps the people to know
where they are. I realized that because I was coding at least 5
visitors for the bibtex stuff of roel and I was confused not to find
the same.
[...]
If you want to know all the structures
referencing a specific other
structure (this doesn't have to be a resource necessarily) just use
something similar to the code below. One could even add a message to
Structure itself to get all the references more easily:
Structure>>references
"Return all the structures referencing the receiver."
^(VisitorReferences collect: self root to: self)
collection
We should add that.
The same here, I will change the code accordingly an publish it to SCG
and Cincom StORE. Unfortunately my time is quite limited at the moment
(there is a whole bunch of lectures starting at university right now),
so it will take some more time.
Cheers,
Lukas
--
Lukas Renggli