# eric7.Plugins.WizardPlugins.EricPluginWizard.Templates

Class documentation goes here.

### Global Attributes

__header__
error
mainTemplate

### Classes

None

### Functions

__init__ | Constructor
activate | Public method to activate this plug-in.
deactivate | Function to create the Translator configuration page.
getConfigData | Function returning data as required by the configuration dialog.
getPreferences | Public method to retrieve the various settings values.
installDependencies | Function to clear the private data of the plug-in.
prepareUninstall | Function to prepare for an un-installation.
setPreferences | Function to return the API files made available by this plug-in.

## __init__

__init__(self, ui)

Constructor

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

Up

## activate

activate(self)

Public method to activate this plug-in.

Return:
  tuple of None and activation status

Return Type:
  bool

Up

## deactivate

deactivate(self)

Function to create the Translator configuration page.

configDlg (ConfigurationWidget)
  reference to the configuration dialog

Return:
  reference to the configuration page

Return Type:
  TranslatorPage

Up

## getConfigData

getConfigData()

Function returning data as required by the configuration dialog.

Return:
  dictionary containing the relevant data

Return Type:
  dict

Up

## getPreferences

getPreferences(self, key)

Public method to retrieve the various settings values.

key (str)
  the key of the value to get

Return:
  the requested setting value

Return Type:
  Any

Up

## installDependencies

installDependencies(pipInstall)

Function to clear the private data of the plug-in.

Up

## prepareUninstall

prepareUninstall()

Function to prepare for an un-installation.

Up

## setPreferences

setPreferences(self, key, value)

Function to return the API files made available by this plug-in.

language (str)
  language to get APIs for

Return:
  list of API filenames

Return Type:
  list of str

Up