parent.frames[1].location.href = url1; parent.frames[2].location.href = url2; } -->
Package gnue :: Package forms :: Module GFClient :: Class GFClient
[show private | hide private]

Class GFClient

GBaseApp --+    
           |    
  GClientApp --+
               |
              GFClient


Method Summary
  __init__(self, connections)
  run(self)
Main method of GFClient
  __listUIs(self)
Helper function to print a list of user interfaces that forms supports
    Inherited from GClientApp
  getConnectionManager(self)
  getLoginHandler(self)
  setLoginHandler(self, loginHandler)
    Inherited from GBaseApp
  addCommandOption(self, *args, **parms)
Create a new command option and add it to the options sequence.
  analyzeCycle(self, cycle)
Return a generator for iterating a given reference cycle.
  buildHelpOptions(self, category)
Build 'help text' for all options of the given category.
  debugGarbageCollection(self, signal, frame)
Debug Python's garbage collection.
  doHelpConfig(self)
Display all configuration settings and their default values and quit the program.
  doSelfDoc(self)
Run the self documentation.
  doVersion(self)
Display the version information and quit the program.
  excepthook(self, etype, value, traceback)
This function catches an exception and evaluates it using getException().
  findCycle(self, search, current, last, path, seen)
Find a reference cycle starting from a given object(current) and ending with a given object(search).
  getCommandLineParameters(self, paramList)
Convert a sequence of parameters (i.e.
  handleStartupError(self, msg)
Display a startup error and exit gracefully.
  printHelp(self)
Print help information for this application and quit the program.
  printHelpConn(self)
Print connection/database-related help information and quit the program.
  printHelpDev(self)
Print help information for this application and quit the program.
  printHelpFooter(self)
Print the help footer including the address for bug reports.
  printHelpHeader(self)
Print version information and the usage header
  printVersion(self)
Display version information for this application
  selfdoc(self, command, handle, format, options)
Run the self-documentation for an application.
  _debugger(self)
Run the application in the python debugger.
  _profile(self)
Run the application through the python profiler and print some statistics afterwards.
  _showException(self, group, name, message, detail)
This function shows an exception specified by the given parameters.

Class Variable Summary
str COMMAND = 'gnue-forms'
str NAME = 'GNUe Forms'
str SUMMARY = 'GNUe Forms is the primary user interface to t...
str USAGE = '[options] file'
bool USE_DATABASE_OPTIONS = True
str VERSION = '0.6.1+svn.9850'
    Inherited from GBaseApp
list ARGUMENTS = []
str AUTHOR = 'GNU Enterprise Project'
list COMMAND_OPTIONS = []
str CONFIGFILE = 'gnue.conf'
NoneType connections = None                                                                  
str EMAIL = 'info@gnue.org'
dict OPTIONS = {}
str REPORT_BUGS_TO = 'Please report any bugs to info@gnue.or...
int USE_CONNECTIONS = 1                                                                     
int USE_RPC_OPTIONS = 0                                                                     

Method Details

__init__(self, connections=None)
(Constructor)

Overrides:
gnue.common.apps.GBaseApp.GBaseApp.__init__

run(self)

Main method of GFClient

Responsible for setting up the desired UI driver, parsing command line arguments, loading the desired form, and passing control to the GFInstance that will control the application.
Overrides:
gnue.common.apps.GBaseApp.GBaseApp.run

__listUIs(self)

Helper function to print a list of user interfaces that forms supports

If this functoin is called then it will print out the help text and then force exit of the program.

Class Variable Details

COMMAND

Type:
str
Value:
'gnue-forms'                                                           

NAME

Type:
str
Value:
'GNUe Forms'                                                           

SUMMARY

Type:
str
Value:
'GNUe Forms is the primary user interface to the GNU Enterprise system\
.'                                                                     

USAGE

Type:
str
Value:
'[options] file'                                                       

USE_DATABASE_OPTIONS

Type:
bool
Value:
True                                                                   

VERSION

Type:
str
Value:
'0.6.1+svn.9850'                                                       


GNUe Home

Private API

Developer's Corner