Plugin_Project_TurboGears.PluginProjectTurboGears

Module implementing the TurboGears project plugin.

Classes

ProjectTurboGearsPlugin Class implementing the TurboGears project plugin.

Functions

apiFiles Module function to return the API files made available by this plugin.
prepareUninstall Module function to prepare for an uninstallation.


ProjectTurboGearsPlugin

Class implementing the TurboGears project plugin.

Derived from

QObject

Methods

ProjectTurboGearsPlugin Constructor
__checkVersions Private function to check that the eric4 version is ok.
__initialize Private slot to (re)initialize the plugin.
__loadTranslator Private method to load the translation file.
__projectClosed Private slot to handle the projectClosed signal.
__projectOpened Private slot to handle the projectOpened signal.
activate Public method to activate this plugin.
deactivate Public method to deactivate this plugin.
fileTypesCallback Public method get the filetype associations of the TurboGears project type.
prepareUninstall Public method to prepare for an uninstallation.

ProjectTurboGearsPlugin (Constructor)

ProjectTurboGearsPlugin(ui)

Constructor

ui
reference to the user interface object (UI.UserInterface)

ProjectTurboGearsPlugin.__checkVersions

__checkVersions()

Private function to check that the eric4 version is ok.

Returns:
flag indicating version is ok (boolean)

ProjectTurboGearsPlugin.__initialize

__initialize()

Private slot to (re)initialize the plugin.

ProjectTurboGearsPlugin.__loadTranslator

__loadTranslator()

Private method to load the translation file.

ProjectTurboGearsPlugin.__projectClosed

__projectClosed()

Private slot to handle the projectClosed signal.

ProjectTurboGearsPlugin.__projectOpened

__projectOpened()

Private slot to handle the projectOpened signal.

ProjectTurboGearsPlugin.activate

activate()

Public method to activate this plugin.

Returns:
tuple of None and activation status (boolean)

ProjectTurboGearsPlugin.deactivate

deactivate()

Public method to deactivate this plugin.

ProjectTurboGearsPlugin.fileTypesCallback

fileTypesCallback()

Public method get the filetype associations of the TurboGears project type.

Returns:
dictionary with file type associations

ProjectTurboGearsPlugin.prepareUninstall

prepareUninstall()

Public method to prepare for an uninstallation.

Up


apiFiles

apiFiles(language)

Module function to return the API files made available by this plugin.

Returns:
list of API filenames (list of string)
Up


prepareUninstall

prepareUninstall()

Module function to prepare for an uninstallation.

Up