|
Modules
These are the supported modules:
Python module | Standard Python source code file. |
Python package | Standard Python package, loads any __init__.py and shows it's directory as a package of modules as well as sub-directories containing a __init__.py file. |
Text | Plain text file |
wxApp | The module that hosts the wxApp object. A module list is maintained in this module. The App module controls which is the main frame of an application and currently maintains relative paths for the module list. It has a specialised Application View |
wxFrame variants |
Currently wrapped wxFrame type modules are wxFrame,
wxDialog,
wxMiniFrame,
wxMDIParentFrame,
wxMDIChildFrame.
These modules support the Designer view for visual frame creation. |
Standard Pages
These are the standard pages:
Interactive Shell | Simple Python shell. |
Explorer |
An Explorer for your filesystem / workspace and sys.path. It shows
folders and packages in a tree on the left and all valid Boa modules in
a list on the right. You may configure the list of displayed drives (MS Windows) in PrefsMSW.py CVS folders (cyan) will display their entries file with icons showing if the file has been modified since the last check in. CVS update facilities are planned. Zope browsing / document editing is also supported.
|
Views
These are the views on modules:
Source |
Syntax highlighting source code editor. It is based on the fantastic
Scintilla editor by Neil Hodgson and wrapped for wxWindows as wxStyledTextCtrl by
Robin Dunn. Basic supported functionality:
This adds the following snippet to the end of the module: if __name__ == '__main__': app = wxPySimpleApp() frame = create(None) frame.Show(true) app.MainLoop()If the module contains a Boa created frame and it's default create function, this code will let the module run on it's own. |
||||||
Designer |
This is the GUI bulder view for the source. The view is activated by clicking the ![]() |
||||||
Data | The DataView shows the invisible design-time objects. These are objects created from the 'Utilities' palette page. | ||||||
Explore |
This view show the list of classes and function defined in a module.
Exploding reveals methods and events.
Use this view for navigating quickly thru your code. |
||||||
Hierarchy |
The inheritance hierarchy of the objects in the model, color coded
as follows:
|
||||||
Documentation | An html view on the doc strings in your code. The format is structured around the wxWindows look. | ||||||
UML | OGL enabled view of all the classes and their inheritance relationships. This view is not complete yet. | ||||||
Info | View for creation and maintenance of the comment block at the top of code identifying the author, licence etc. | ||||||
ToDo |
Displays a list of all comments in your code started with # XXX
Handy for reviewing what needs to be done and a jumppad for quick access. |
||||||
Application |
View on wxApp files for maintenance of an application. Add edit and
remove modules of the application thru this view. Click on the columns to sort by name, type or relative path. Find will search all the modules defined in the App and return an Application find results view. The Imports view can only be accessed from this view. When Boa was run with the -T option (trace execution) this option will
built a traceback from the log file. If the stack balances out,
i.e. uninterrupted execution, the stack will be empty. As the trace file
may be quite big, please be patient while it is constructed. If you are not,
see ErrorStack.CrashTraceLogParser to limit the max depth or max number of
lines to parse.
|
||||||
Imports |
Another OGL enabled view, this time showing the import relationships
between modules of an application.
i.e. who imports who. |
||||||
Package | Shows all modules and other packages inside a package. |
Results Views
There can be multiple instances of these views on a module, they are usually the result of
an operation on the module.
The following are defined:
|