Child pages
  • Browsing the Source, Where to Start

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titleLocating Types

By pressing Control-Shift-T, a dialog pops up that allows quick lookup of classes based on their name

The entry point for the Client code is all Clients  is the ClientState class.The  The ClientState class is in fact the most top level class containing logic. From it, all other "client" applications are derived. It holds many object managers (all implementing the IManager interface ), for example:

  • FoundsetManager: class managing all IFoundset instances (datahandling layer). IFoundSet has multiple implementations from which the FoundSet class is the main one. It contains records (IRecord class) and records contains rows (Row class). The FoundSetManager also keeps track of the RowManagers for each database table to handle Row objects.
  • PluginManager: class managing all plugins (a plugin is an external piece of code which has to satisfy to the IPlugin.java interface and can be used in scripting)
  • FormManager: class managing all FormController instances. Subclasses are WebFormManger and SwingFormManager
  • ModeManager: class to control the mode the application is in, for example edit, find and print
  • BeanManager: class to create/control the beans and their lifecycle
  • A reference to the script engine (Rhino)

...