mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin III - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
// dlgOperator.h - Operator property
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#ifndef __DLG_OPERATORPROP
|
|
#define __DLG_OPERATORPROP
|
|
|
|
#include "dlg/dlgProperty.h"
|
|
|
|
class pgSchema;
|
|
class pgOperator;
|
|
|
|
class dlgOperator : public dlgTypeProperty
|
|
{
|
|
public:
|
|
dlgOperator(pgaFactory *factory, frmMain *frame, pgOperator *op, pgSchema *sch);
|
|
int Go(bool modal);
|
|
|
|
void CheckChange();
|
|
wxString GetSql();
|
|
pgObject *CreateObject(pgCollection *collection);
|
|
pgObject *GetObject();
|
|
|
|
private:
|
|
void CheckChangeType();
|
|
void OnChangeTypeLeft(wxCommandEvent &ev);
|
|
void OnChangeTypeRight(wxCommandEvent &ev);
|
|
void OnChangeJoin(wxCommandEvent &ev);
|
|
|
|
void AppendFilledOperator(wxString &sql, const wxChar *txt, ctlComboBoxFix *cb);
|
|
|
|
pgSchema *schema;
|
|
pgOperator *oper;
|
|
wxArrayString procedures;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
|
|
#endif
|