Skip site navigation (1) Skip section navigation (2)

Patch for "Panel for Joins in the Graphic Query Builder"

From: Ashesh D Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Patch for "Panel for Joins in the Graphic Query Builder"
Date: 2008-12-01 10:41:45
Message-ID: 4933BF69.9090009@enterprisedb.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi All,

As per my discussion with Dave Page:
- Replace the generic dialog box that the graphical query builder uses when
  you right-click a join, and select the join type option. It currently uses
  an ugly standard dialog. Create a more compact and purpose built one - 
like
  the one you get when you add criteria, and click on the 'restricted value'
  button.

Modifications and addition are as follows:
* Introduced couple of new classes for handling operations:
  + gqbJoinsPanel - Panel for handling the joins in the tab - container for
                    criteria, order & columns panels
  + gqbJoinsPopUp - Pop up window, when selecting a column from the 
table list,
                    derived from the gqbColsPopUp
  + gqbGridJoinTable - Table for handling all the joins data. It handles 
three
                       columns Source, Join-Type & Destination
* Added new images gqbAdd.xpm & gqbRemove.xpm
* Renamed wxRestrictionGrid to gqbCustomGrid as we're using the same 
Grid for
  handling the criteria(s) and join(s) in the gqbCriteriaPanel and 
gqbJoinsPanel
  respectively.
* Added one operator [] in gqbArrayCollection for accessing the 
gqbObject object
  directory (replacement/accessibility of the object at particular index 
will be
  easy and fast).
* Removed the context menu "Set Type" removed for join, as this 
operation will be
  handled from the joins-panel now onwards.

Regards,
Ashesh Vashi


Attachment: GQBJoinsPanel_v1.patch
Description: text/x-patch (45.2 KB)

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2008-12-01 14:22:42
Subject: Re: Patch for "Panel for Joins in the Graphic Query Builder"
Previous:From: Quan ZongliangDate: 2008-11-28 04:41:20
Subject: Re: CSV import / export

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group