~ubuntu-branches/debian/sid/pgadmin3/sid

« back to all changes in this revision

Viewing changes to pgadmin/include/dlg/dlgIndex.h

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2009-07-30 12:27:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090730122716-fddbh42on721bbs2
Tags: 1.10.0-1
* New upstream release.
* Adjusted watch file to match release candidates.
* Updated to Standards-Version 3.8.2:
  - Moved to Section: database.
  - Add DEB_BUILD_OPTIONS support for parallel building.
  - Move from findstring to filter suggestion for DEB_BUILD_OPTIONS parsing.
* pgagent got split into its own separate source package by upstream.
* Exclude Docs.vcproj from installation.
* Move doc-base.enus from pgadmin3 to pgadmin3-data package, the files are
  in there too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//////////////////////////////////////////////////////////////////////////
2
2
//
3
3
// pgAdmin III - PostgreSQL Tools
4
 
// RCS-ID:      $Id: dlgIndex.h 6930 2008-01-02 00:10:01Z dpage $
5
 
// Copyright (C) 2002 - 2008, The pgAdmin Development Team
6
 
// This software is released under the Artistic Licence
 
4
// RCS-ID:      $Id: dlgIndex.h 7874 2009-05-20 11:12:34Z dpage $
 
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
 
6
// This software is released under the BSD Licence
7
7
//
8
8
// dlgIndex.h - Index property 
9
9
//
19
19
class pgIndex;
20
20
class pgIndexBase;
21
21
 
 
22
#define btnAddCol       CTRL_BUTTON("btnAddCol")
 
23
#define btnRemoveCol    CTRL_BUTTON("btnRemoveCol")
 
24
 
22
25
class dlgIndexBase : public dlgCollistProperty
23
26
{
24
27
public:
30
33
    void OnSelectCol();
31
34
    void CheckChange();
32
35
    pgObject *GetObject();
33
 
    wxString GetColumns();
34
36
    int Go(bool modal);
35
37
 
36
38
protected:
37
39
    pgIndexBase *index;
38
40
 
39
41
private:
40
 
    void OnAddCol(wxCommandEvent &ev);
41
 
    void OnRemoveCol(wxCommandEvent &ev);
42
 
 
43
42
    DECLARE_EVENT_TABLE()
44
43
};
45
44
 
51
50
 
52
51
    int Go(bool modal);
53
52
    void CheckChange();
 
53
    wxString GetColumns();
54
54
    wxString GetSql();
55
55
    pgObject *CreateObject(pgCollection *collection);
56
56
 
57
57
private:
 
58
#ifdef __WXMAC__
 
59
    void OnChangeSize(wxSizeEvent &ev);
 
60
#endif
 
61
 
 
62
    void OnSelectType(wxCommandEvent &ev);
 
63
    void OnDescChange(wxCommandEvent &ev);
 
64
    void OnAddCol(wxCommandEvent &ev);
 
65
    void OnRemoveCol(wxCommandEvent &ev);
 
66
 
 
67
    wxString m_previousType;
 
68
 
58
69
    DECLARE_EVENT_TABLE()
59
70
};
60
71