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: (view raw, whole thread or download thread mbox)
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 - 
  the one you get when you add criteria, and click on the 'restricted value'

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 
                       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 
* 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.

Ashesh Vashi

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


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-2017 The PostgreSQL Global Development Group