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

« back to all changes in this revision

Viewing changes to pgadmin/dd/ddmodel/ddGenerationWizard.cpp

  • 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
// ddGenerationWizard.cpp - Wizard to allow generation of tables.
52
52
END_EVENT_TABLE()
53
53
 
54
54
ddGenerationWizard::ddGenerationWizard(wxFrame *frame, ddDatabaseDesign *design, pgConn *connection, bool useSizer)
55
 
        : wxWizard(frame, wxID_ANY, _T("Generate DDL from model"),
 
55
        : wxWizard(frame, wxID_ANY, wxT("Generate DDL from model"),
56
56
                   wxBitmap(*continue_png_bmp), wxDefaultPosition,
57
57
                   wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
58
58
{
63
63
        initialPage = new wxWizardPageSimple(this);
64
64
 
65
65
        frontText = new wxStaticText(initialPage, wxID_ANY,
66
 
                                     _T("Build DDL from model tables.\n")
67
 
                                     _T("\n")
68
 
                                     _T("The next pages will allow the built of DDL of the current database designer model.")
69
 
                                     _T("\n\n")
70
 
                                     _T("Restrictions apply when using experimental function ALTER TABLE instead of DROP/CREATE:\n\n")
71
 
                                     _T("1. Database connection is required to check differences with existing tables.\n\n")
72
 
                                     _T("2. Only changes done in the design will be applied to the db, not otherwise.\n\n")
73
 
                                     _T("3. Rename of columns or tables is not (yet) supported.\n\n")
74
 
                                     _T("4. Rename of constraints generate a drop and create, except for primary key constraints.\n\n")
75
 
                                     _T("5. All constraints should have a defined name.\n\n")
 
66
                                     wxT("Build DDL from model tables.\n")
 
67
                                     wxT("\n")
 
68
                                     wxT("The next pages will allow the built of DDL of the current database designer model.")
 
69
                                     wxT("\n\n")
 
70
                                     wxT("Restrictions apply when using experimental function ALTER TABLE instead of DROP/CREATE:\n\n")
 
71
                                     wxT("1. Database connection is required to check differences with existing tables.\n\n")
 
72
                                     wxT("2. Only changes done in the design will be applied to the db, not otherwise.\n\n")
 
73
                                     wxT("3. Rename of columns or tables is not (yet) supported.\n\n")
 
74
                                     wxT("4. Rename of constraints generate a drop and create, except for primary key constraints.\n\n")
 
75
                                     wxT("5. All constraints should have a defined name.\n\n")
76
76
                                     , wxPoint(5, 5)
77
77
                                    );
78
78