1
//////////////////////////////////////////////////////////////////////////
3
// pgAdmin III - PostgreSQL Tools
4
// RCS-ID: $Id: dlgType.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
8
// dlgType.h - Typeproperty
10
//////////////////////////////////////////////////////////////////////////
13
#ifndef __DLG_TYPEPROP
14
#define __DLG_TYPEPROP
16
#include "dlg/dlgProperty.h"
20
class dlgType : public dlgTypeProperty
23
dlgType(pgaFactory *factory, frmMain *frame, pgType *node, pgSchema *schema);
27
pgObject *CreateObject(pgCollection *collection);
28
pgObject *GetObject();
35
void OnTypeChange(wxCommandEvent &ev);
36
void OnMemberAdd(wxCommandEvent &ev);
37
void OnMemberRemove(wxCommandEvent &ev);
38
void OnMemberSelChange(wxListEvent &ev);
39
void OnLabelAdd(wxCommandEvent &ev);
40
void OnLabelRemove(wxCommandEvent &ev);
41
void OnLabelSelChange(wxListEvent &ev);
42
void OnSelChangeTyp(wxCommandEvent &ev);
43
void OnSelChangeTypOrLen(wxCommandEvent &ev);
44
void OnChangeMember(wxCommandEvent &ev);
46
void showDefinition(int panel);
48
wxArrayString memberTypes, memberSizes;