Package turbogears :: Package toolbox :: Package designer :: Class Designer
[hide private]

Class Designer

source code


Designer for SQLObject models.

Create your classes, define your fields and manage your relations. Visualize and generate code for SQLObject models.


Version: 0.1

Author: Ronald Jaramillo

Copyright: Copyright 2005 Ronald Jaramillo

License: MIT

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_model(self, model) source code
 
get_model_name(self) source code
 
register_static_directory(self) source code
 
column_type(self, column)
Given a column representation return the column type.
source code
 
column_default(self, column, column_type) source code
 
load_column(self, column_name, column, model_object) source code
 
other_method_join_name(self, column, model_object_name) source code
 
other_method_name(self, column, model_object_name) source code
 
is_inheritable_base_class(self, obj)
Check if the object is a direct subclass of InheritableSQLObject
source code
 
load_columns(self, model_object) source code
 
load_current_model(self, *_decorator__varargs, **_decorator__kwargs) source code
 
save_session_as_name(self, name) source code
 
save_state(self, state, name='model_designer.tmp', *_decorator__varargs, **_decorator__kwargs) source code
 
model_path(self) source code
 
save_model(self, code) source code
 
save_and_create_(self, code, order) source code
 
save_and_create(self, code, order, *_decorator__varargs, **_decorator__kwargs) source code
 
load_session_list(self) source code
 
session_exists(self) source code
 
retrieve_sample(self, name, *_decorator__varargs, **_decorator__kwargs) source code
 
current_session_model(self, *_decorator__varargs, **_decorator__kwargs) source code
 
save(self, code, *_decorator__varargs, **_decorator__kwargs) source code
 
session_list(self, *_decorator__varargs, **_decorator__kwargs) source code
 
index(self, *_decorator__varargs, **_decorator__kwargs) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __label__ = 'ModelDesigner'
  __email__ = 'ronald@checkandshare.com'
  baseTemplate = 'turbogears.toolbox.designer'
  model = None
  icon = '/tg_static/images/designer.png'

Inherited from controllers.RootController: accesslog, is_app_root, msglog, msglogfunc

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)