application_action

class camelot.admin.action.application_action.ApplicationActionGuiContext[source]

The GUI context for an camelot.admin.action.Action. On top of the attributes of the camelot.admin.action.base.GuiContext, this context contains :

workspace

the camelot.view.workspace.DesktopWorkspace of the application in which views can be opened or adapted.

admin

the application admin.

model_context

alias of ApplicationActionModelContext

class camelot.admin.action.application_action.ApplicationActionModelContext[source]

The Model context for an camelot.admin.action.Action. On top of the attributes of the camelot.admin.action.base.ModelContext, this context contains :

admin

the application admin.

session[source]

the active session

class camelot.admin.action.application_action.Authentication[source]

This action provides information of the currently active authentication mechanism, in other words, it displays the active user and his permissions.

Add this action to a toolbar if you want to show the authentication information to the user.

class camelot.admin.action.application_action.Backup[source]

Backup the database to disk

backup_mechanism

A subclass of camelot.core.backup.BackupMechanism that enables the application to perform backups an restores.

backup_mechanism

alias of BackupMechanism

class camelot.admin.action.application_action.ChangeLogging[source]

Allow the user to change the logging configuration

class camelot.admin.action.application_action.DumpState[source]

Dump the state of the application to the output, this method is triggered by pressing Ctrl-Alt-D in the GUI

class camelot.admin.action.application_action.EntityAction(entity_admin)[source]

Generic ApplicationAction that acts upon an Entity class

class camelot.admin.action.application_action.Exit[source]

Exit the application

class camelot.admin.action.application_action.OpenNewView(entity_admin)[source]

An application action that opens a new view of an Entity

Parameters:entity_admin – an instance of camelot.admin.entity_admin.EntityAdmin to be used to visualize the entities
class camelot.admin.action.application_action.OpenTableView(entity_admin)[source]

An application action that opens a TableView of an Entity

Parameters:entity_admin – an instance of camelot.admin.entity_admin.EntityAdmin to be used to visualize the entities
class camelot.admin.action.application_action.Profiler[source]

Start/Stop the runtime profiler. This action exists for debugging purposes, to evaluate where an application spends its time.

class camelot.admin.action.application_action.Refresh[source]

Reload all objects from the database and update all views in the application.

class camelot.admin.action.application_action.Restore[source]

Restore the database to disk

backup_mechanism

A subclass of camelot.core.backup.BackupMechanism that enables the application to perform backups an restores.

backup_mechanism

alias of BackupMechanism

class camelot.admin.action.application_action.RuntimeInfo[source]

Pops up a messagebox showing the version of certain libraries used. This is for debugging purposes., this action is triggered by pressing Ctrl-Alt-I in the GUI

class camelot.admin.action.application_action.SegmentationFault[source]

Create a segmentation fault by reading null, this is to test the faulthandling functions. this method is triggered by pressing Ctrl-Alt-0 in the GUI

class camelot.admin.action.application_action.SelectProfile(profile_store, edit_dialog_class=None)[source]

Select the application profile to use

Parameters:

This action is also useable as an action step, which will return the selected profile.

class camelot.admin.action.application_action.ShowAbout[source]

Show the about dialog with the content returned by the ApplicationAdmin.get_about() method

class camelot.admin.action.application_action.ShowHelp[source]

Open the help

camelot.admin.action.application_action.structure_to_application_action(structure, application_admin)[source]

Convert a python structure to an ApplicationAction

Parameters:application_admin – the camelot.admin.application_admin.ApplicationAdmin to use to create other Admin classes.