Here is the answer I gave on stackoverflow:
Custom user interaction is achieved through actions. If you are interested in influencing the browser (and not just having some external action executed), then you want the logic of the action to affect the value of the port in which the presentation resides in.
For example, if for Command-M you expect to get a list of all methods in the system, you would define the action as:
a text "..." populate: #selection on: $m entitled: 'Implementors' with: [ :text :entity | "logic that retrieves the list of methods" ]
You can see more information at: http://www.themoosebook.org/book/internals/glamour/actions
Cheers, Doru
On 27 Oct 2011, at 11:49, VOGT Simon wrote:
Hi
We have a Moose question!
http://stackoverflow.com/questions/7914189/in-moose-how-can-i-be-notified-of...
Simon _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Don't give to get. Just give."