Re: Auto selection



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
.



Relevant Pages

  • Re: Question on Java .form and Eclipse
    ... If the Java industrialization is ... the GUI can no unproductive be established ... unless the OP eludes vacating agony ... continent, to our world, but actually belong to a different galaxy." ...
    (comp.lang.java.programmer)
  • Re: Auto selection
    ... Typically GUI is used to control ... because they don't belong to the model. ... This would be less intuitiv if one tries to avoid a dialog. ...
    (comp.object)
  • Re: Delphi 2007 Memory Leak
    ... | pure code to maintain GUI. ... Hey! ... We both belong to the 20 KLOC Club! ...
    (borland.public.delphi.non-technical)
  • Re: make GUI figure passive or nonresponsive
    ... I have generated a GUI which has a control that spawns a second ... figure in which the users loads input data. ... the user closes the pop-up figure. ...
    (comp.soft-sys.matlab)
  • GUI Help Needed...
    ... I have a GUI with a pop-up menu which ... I would like the selected option to be stored ... specifications. ...
    (comp.soft-sys.matlab)