On Friday 14 June 2002 12:11 pm, Michael Koziarski wrote:
> Hey guys,
>
> I have a usability question, and I thought I'd discuss it here.  I
> think we need to consistently distinguish between 'Object creation'
> and 'Object alteration' operations.  i.e. 'Url Properties' vs 'Insert Url'.

> Given the fact the you guys will be working a lot on GUII at the
> devels meeting (have fun by the way), perhaps this is something that
> you could think about.  As I said I've no Idea what the best way to
> implement this is. But I do think that it's important frontends are
> /able/ to distinguish between these two different functions.  Even if
> the xforms frontend doesn't do so in practice.  If possible the GNOME
> frontend will.

I belive that the ability to de this already exists --- almost.

It looks, to me, that for the vast majority of the dialogs, the only real 
difference you're looking for in the View is the title and the 
(Ok,Apply,Cancel) buttons. I emphasise the View because the Controller can 
already distiguish between Create and Modify.

So, you need a flag telling you whether you're creating or modifying. Why not 
modify ViewBase::update to ViewBase::update(bool creating). That should do 
it. (You might need to have ViewBase::show(bool creating) too...

That'll enable you to modify the visual appearance of the View and connect 
the Close button to the apply slot when modifying.

Angus

Reply via email to