Re: Auto selection
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 15:38:19 +0100
On 23 Nov 2006 05:35:01 -0800, tailorma_de wrote:
Hi Dmitry,
Hi!
I hate pop-up windows. What about first creating a new slot in the tree
focusing on it and only then giving it a name?
When creating a new file under Microsoft Explorer, I usually copy a file
(Ctrl-C/Ctrl-V), then rename it, then change the contents.
I don't want to offend you but it seems that you didn't get my issue.
I have written about selecting (focusing) an item automatically in the
GUI when it is created in the model and gets displayed in the GUI. And
I don't think it is a good idea to create the view item first and then
create the model part.
But this is what I meant. In fact, the new item always exists before its
model, maybe in a form of a pop-up dialog. So why not to create it
immediately in the tree and attach a model object later?
The single advantage of pop-up against tree + currently-in-focus pane is
that pop-up has a clean and intuitive commitment/confirmation procedure:
either you click OK or Cancel.
Or am I wrong?
You have to decide what drives what. Typically GUI is used to control
things, so it is logical to deploy a schema where the GUI enforces its view
on the model. An alternative would be a GUI reflecting sporadically
happening changes in the model. The second view is doable, but more
difficult and usually less intuitive to the user, because it gets
increasingly difficult to separate the changes I, the user, do vs. ones
asynchronously imposed on me. As you noticed, you will have problems with
things like focus etc, because they don't belong to the model. (Not to
mention notification services necessary) So you probably will need a third
player to tell GUI what's going on, some sort of context, session,
environment etc. I think you've got the idea - selection will not belong to
GUI anymore.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: Auto selection
- From: tailorma_de
- Re: Auto selection
- References:
- Auto selection
- From: tailorma_de
- Re: Auto selection
- From: Dmitry A. Kazakov
- Re: Auto selection
- From: tailorma_de
- Auto selection
- Prev by Date: Re: Auto selection
- Next by Date: Open source / downloadable compiler for Executable UML?
- Previous by thread: Re: Auto selection
- Next by thread: Re: Auto selection
- Index(es):
Relevant Pages
|