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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
GQBJoinsPanel_v1.patch text/x-patch 45.2 KB

Responses

Browse pgadmin-hackers by date

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