Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: Patch: view data for tables/views on double click

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



 

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org 
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of 
> Ivan Nejgebauer
> Sent: 16 September 2004 10:43
> To: pgadmin-support(at)postgresql(dot)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



Home | Main Index | Thread Index

top