Re: [NetBeans]changing menuitems
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Sat, 26 Jul 2008 12:37:39 -0700
Lew wrote:
RedGrittyBrick wrote:Rather than telling GenListView what to do, maybe you should look at it the other way around and provide methods that allow you to tell GenListView about some external event, then let GenListView decide on appropriate changes to it's display.
I think you may need to disentangle your View from your Controller.
This excellent advice got me to thinking how to summarize the principle pithily,
The View watches the Model. The Model ignores the View.
I didn't read those links yet, but is this correct? I thought in the classic MVC model the Model and the View ignored each other and both were manipulated by the Controller only. Separation of these two is the whole point.
.
- Follow-Ups:
- Re: [NetBeans]changing menuitems
- From: thufir
- Re: [NetBeans]changing menuitems
- From: Lew
- Re: [NetBeans]changing menuitems
- References:
- [NetBeans]changing menuitems
- From: Daniel Moyne
- Re: [NetBeans]changing menuitems
- From: RedGrittyBrick
- Re: [NetBeans]changing menuitems
- From: Lew
- [NetBeans]changing menuitems
- Prev by Date: Re: [NetBeans]changing menuitems
- Next by Date: Re: [NetBeans]changing menuitems
- Previous by thread: Re: [NetBeans]changing menuitems
- Next by thread: Re: [NetBeans]changing menuitems
- Index(es):
Relevant Pages
|