Re: Auto selection
- From: "tailorma_de" <tailormade@xxxxxxx>
- Date: 23 Nov 2006 04:47:22 -0800
Essentially, your GUI must be aware of the business objects thatit's
presenting at any time, and which object is in focus is a matter for
the GUI only (not the business model).
Okay. Selection/Focus is a part of the UI. This thightens my
assumption.
So, when you pass your command CreateNewCodeFile to the model, then the
model will eventually send a message to the GUI to say either, "Here's
a new node created," or, "The model's been updated: go figure."
The first approach "Here's a new node created" sounds interesting. Of
course.
Btw, with node you mean an business object, right?
The tree was just an example. It could also be something else. However,
I would like to know how it should be realized with a tree (deep
structure should be also possible). Would you use an event? What would
raise the event? Would you pass the parent business object as a
parameter?
appropriate node highlighted. This also makes navigation of the
graphics easier by user-commands such as arrow-keys (the GUI can expose
an api with such methosd as: Node[] getSelectedNodes[], Node
getNextNode() etc.).
I'm not sure how to understand this in the context. Do you mean this in
a strict MVC design? Please excuse, I'm not that experienced with those
'higher' leveled programming techniques.
Thanks.
Robert
.
- Follow-Ups:
- Re: Auto selection
- From: Ed
- Re: Auto selection
- References:
- Auto selection
- From: tailorma_de
- Re: Auto selection
- From: Ed
- Auto selection
- Prev by Date: Re: Auto selection
- Next by Date: Re: Auto selection
- Previous by thread: Re: Auto selection
- Next by thread: Re: Auto selection
- Index(es):
Relevant Pages
|