69 |
if stepCode == '0': |
if stepCode == '0': |
70 |
return { 'title': 'Basic Form Information', |
return { 'title': 'Basic Form Information', |
71 |
'content': (WizardText('Welcome to the introspection schema wizard.'), |
'content': (WizardText('Welcome to the introspection schema wizard.'), |
72 |
WizardText('To create your schema, I need to know some basic information. \n' |
WizardText('To create your schema, I need to know some basic information.\n\n' |
73 |
'First, what shall I call this schema? This name is for \n' |
'First, what shall I call this schema? This name is for ' |
74 |
'informational use only.'), |
'informational use only.'), |
75 |
WizardInput('title', label='Schema Name:', required=1, |
WizardInput('title', label='Schema Name:', required=1, |
76 |
size=40), |
size=40), |
77 |
WizardText('What connection should we use to connect to the \ndatabase for introspection?'), |
WizardText('What connection should we use to connect to the database for introspection?'), |
78 |
WizardInput('connection',label='Connection:', required=1, |
WizardInput('connection',label='Connection:', required=1, |
79 |
set=self.GetAvailableConnections()), |
set=self.GetAvailableConnections()), |
80 |
WizardText('You may be asked to login to this connection.'), |
WizardText('You may be asked to login to this connection.'), |
122 |
def Finalize(self): |
def Finalize(self): |
123 |
|
|
124 |
# Set the basic attributes of the schema |
# Set the basic attributes of the schema |
125 |
################################################### |
self.ModifyElement(self.root, title=self.variables['title']) |
|
## Temporary! ModifyElement is causing segfault! ## |
|
|
self.root.title = self.variables['title'] |
|
|
## self.ModifyElement(self.root, title=self.variables['title']) |
|
|
################################################### |
|
126 |
|
|
127 |
conn = self.variables['connection'] |
conn = self.variables['connection'] |
128 |
|
|