Re: Patch: view data for tables/views on double click

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Patch: view data for tables/views on double click
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E43064A6@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Patch: view data for tables/views on double click  (Ivan Nejgebauer <ian-pgasup@uns.ns.ac.yu>)
Список pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Ivan Nejgebauer
> Sent: 16 September 2004 10:43
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Patch: view data for tables/views
> on double click
>
> The attached patch a) defines a double click handler for the
> list in the properties pane, so that a double click on an
> item in the list launches the properties editor for the item
> (or the data view if the item is a table or a view); and b)
> modifies the tree view double click handler so that a double
> click on a table or a view launches the data view for the
> corresponding table/view.
>
> Rationale for different behavior with tables/views: most of
> the time, it is expected that the user is interested in
> table/view _data_, not properties, so the default action on a
> table/view shoud be to display its data.
>
> Comments?

That breaks the principle of least surprise because it introduces
inconsistent behaviour.

Perhaps a better approach would be to open the data view only if
'double-click-for-properties' is turned off?

Regards, Dave


В списке pgadmin-support по дате отправления:

Предыдущее
От: "Diego A. Gil"
Дата:
Сообщение: Re: Patch: view data for tables/views on double
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Patch: password style for the "Add Server" dialog