Glamour: actions should be rendered by a double dispatch

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

Glamour: actions should be rendered by a double dispatch

EstebanLM
Hi Doru, list

I think that actions (those in the toolbar) should be rendered by a double dispatch mechanism... I want to be able to render different kind of things as an action (for instance, a multistate button). What do you think?

best,
Esteban
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Glamour: actions should be rendered by a double dispatch

Tudor Girba-2
Hi,

It is probably not a bad idea, but this is conceptually different from what we have now.

A multistate button would be more about setting a preference of the presentation than triggering an action over data. This is of course important, but I think I would prefer to have this implemented in a different way:
http://code.google.com/p/moose-technology/issues/detail?id=687

The idea is to distinguish between what is presentation and what is domain. Or do you have something else in mind?

Cheers,
Doru


On 14 Jan 2012, at 23:16, Esteban Lorenzano wrote:

> Hi Doru, list
>
> I think that actions (those in the toolbar) should be rendered by a double dispatch mechanism... I want to be able to render different kind of things as an action (for instance, a multistate button). What do you think?
>
> best,
> Esteban
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Some battles are better lost than fought."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev