/[papo]/gnue/designer/templates/schema/Introspection.py
ViewVC logotype

Diff of /gnue/designer/templates/schema/Introspection.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by charlie, Tue Aug 27 20:39:55 2002 UTC revision 1.5 by styxman, Fri Nov 8 16:46:04 2002 UTC
# Line 69  class SchemaIntrospectionTemplate(Schema Line 69  class SchemaIntrospectionTemplate(Schema
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.'),
# Line 122  class SchemaIntrospectionTemplate(Schema Line 122  class SchemaIntrospectionTemplate(Schema
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    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26