~ubuntu-branches/ubuntu/utopic/pgadmin3/utopic-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-09-10 16:16:38 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20130910161638-wwup1q553ylww7dr
Tags: 1.18.0-1
* New upstream release.
* Don't install /usr/bin/png2c anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
//
3
3
// pgAdmin III - PostgreSQL Tools
4
4
//
5
 
// Copyright (C) 2002 - 2012, The pgAdmin Development Team
 
5
// Copyright (C) 2002 - 2013, The pgAdmin Development Team
6
6
// This software is released under the PostgreSQL Licence
7
7
//
8
8
// dlgView.h - View property
34
34
        void SetObject(pgObject *obj)
35
35
        {
36
36
                view = (pgView *)obj;
37
 
                if(seclabelPage)
38
 
                        seclabelPage->SetObject(obj);
39
37
        }
40
38
 
41
39
private:
42
40
 
43
41
        virtual bool IsUpToDate();
44
 
        void OnApply(wxCommandEvent &ev);
 
42
        void OnChangeVacuum(wxCommandEvent &ev);
 
43
        void OnCheckMaterializedView(wxCommandEvent &ev);
 
44
        void FillAutoVacuumParameters(wxString &setStr, wxString &resetStr, const wxString &parameter, const wxString &val);
 
45
        wxString AppendNum(bool &changed, wxTextCtrl *ctl, wxString val);
 
46
        void DisableMaterializedView();
 
47
        void DisableStorageParameters();
45
48
 
46
49
        pgSchema *schema;
47
50
        pgView *view;
48
51
        ctlSeclabelPanel *seclabelPage;
49
52
        wxString oldDefinition;
 
53
        wxTextValidator mviewNumericValidator;
50
54
 
51
55
        void OnChange(wxCommandEvent &event);
52
56
 
 
57
        bool tableVacEnabled, hasVacuum, settingAutoVacuum;
 
58
        wxString settingVacBaseThr, settingAnlBaseThr, settingCostDelay,
 
59
                 settingCostLimit, settingFreezeMinAge, settingFreezeMaxAge,
 
60
                 settingFreezeTableAge;
 
61
        wxString tableVacBaseThr, tableAnlBaseThr, tableCostDelay,
 
62
                 tableCostLimit, tableFreezeMinAge, tableFreezeMaxAge,
 
63
                 tableFreezeTableAge;
 
64
        wxString settingVacFactor, settingAnlFactor;
 
65
        wxString tableVacFactor, tableAnlFactor;
 
66
 
 
67
        /* Toast Table */
 
68
        bool toastTableVacEnabled, toastTableHasVacuum;
 
69
        wxString toastTableVacBaseThr,
 
70
                 toastTableCostDelay, toastTableCostLimit,
 
71
                 toastTableFreezeMinAge, toastTableFreezeMaxAge,
 
72
                 toastTableFreezeTableAge;
 
73
        wxString toastTableVacFactor;
 
74
 
 
75
        bool forceSecurityBarrierChanged;
 
76
 
53
77
        DECLARE_EVENT_TABLE()
54
78
};
55
79