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

« back to all changes in this revision

Viewing changes to pgadmin/include/dlg/dlgTextSearchConfiguration.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
//////////////////////////////////////////////////////////////////////////
 
2
//
 
3
// pgAdmin III - PostgreSQL Tools
 
4
// RCS-ID:      $Id: dlgTextSearchConfiguration.h 7758 2009-03-26 20:49:59Z dpage $
 
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
 
6
// This software is released under the BSD Licence
 
7
//
 
8
// dlgTextSearchConfiguration.h - Text Search Configuration property 
 
9
//
 
10
//////////////////////////////////////////////////////////////////////////
 
11
 
 
12
 
 
13
#ifndef __DLG_TSCONFIGURATIONPROP
 
14
#define __DLG_TSCONFIGURATIONPROP
 
15
 
 
16
#include "dlg/dlgProperty.h"
 
17
 
 
18
class pgSchema;
 
19
class pgTextSearchConfiguration;
 
20
 
 
21
class dlgTextSearchConfiguration : public dlgTypeProperty
 
22
{
 
23
public:
 
24
    dlgTextSearchConfiguration(pgaFactory *factory, frmMain *frame, pgTextSearchConfiguration *cfg, pgSchema *sch);
 
25
    int Go(bool modal);
 
26
 
 
27
    void CheckChange();
 
28
    wxString GetSql();
 
29
    pgObject *CreateObject(pgCollection *collection);
 
30
    pgObject *GetObject();
 
31
 
 
32
private:
 
33
    void OnChange(wxCommandEvent &ev);
 
34
 
 
35
    pgSchema *schema;
 
36
    pgTextSearchConfiguration *config;
 
37
    bool dirtyTokens;
 
38
 
 
39
#ifdef __WXMAC__
 
40
    void OnChangeSize(wxSizeEvent &ev);
 
41
#endif
 
42
 
 
43
    void OnSelChangeToken(wxListEvent &ev);
 
44
    void OnChangeCbToken(wxCommandEvent &ev);
 
45
    void OnChangeTxtDictionary(wxCommandEvent &ev);
 
46
    void OnChangeCbDictionary(wxCommandEvent &ev);
 
47
    void OnAddToken(wxCommandEvent &ev);
 
48
    void OnChangeToken(wxCommandEvent &ev);
 
49
    void OnRemoveToken(wxCommandEvent &ev);
 
50
 
 
51
    DECLARE_EVENT_TABLE()
 
52
};
 
53
 
 
54
 
 
55
#endif