eric7.Plugins.PluginVcsPySvn

This plugin provides the PySvn version control interface.

Global Attributes

__header__
error

Classes

VcsPySvnPlugin Class implementing the PySvn version control plugin.

Functions

createConfigurationPage Module function to create the configuration page.
displayString Public function to get the display string.
exeDisplayData Public method to support the display of some executable info.
getConfigData Module function returning data as required by the configuration dialog.
getVcsSystemIndicator Public function to get the indicators for this version control system.
prepareUninstall Module function to prepare for an uninstallation.


VcsPySvnPlugin

Class implementing the PySvn version control plugin.

Derived from

QObject

Class Attributes

SubversionDefaults

Class Methods

getPreferences Class method to retrieve the various settings.
setPreferences Class method to store the various settings.

Methods

VcsPySvnPlugin Constructor
activate Public method to activate this plugin.
deactivate Public method to deactivate this plugin.
getProjectHelper Public method to get a reference to the project helper object.
initToolbar Public slot to initialize the VCS toolbar.
prepareUninstall Public method to prepare for an uninstallation.
prepareUnload Public method to prepare for an unload.

Static Methods

None

VcsPySvnPlugin.getPreferences (class method)

getPreferences(key)

Class method to retrieve the various settings.

key (str)
the key of the value to get
Return:
the requested refactoring setting
Return Type:
Any

VcsPySvnPlugin.setPreferences (class method)

setPreferences(key, value)

Class method to store the various settings.

key (str)
the key of the setting to be set
value (Any)
the value to be set

VcsPySvnPlugin (Constructor)

VcsPySvnPlugin(ui)

Constructor

ui (UserInterface)
reference to the user interface object

VcsPySvnPlugin.activate

activate()

Public method to activate this plugin.

Return:
tuple of reference to instantiated viewmanager and activation status
Return Type:
tuple of (Subversion, bool)

VcsPySvnPlugin.deactivate

deactivate()

Public method to deactivate this plugin.

VcsPySvnPlugin.getProjectHelper

getProjectHelper()

Public method to get a reference to the project helper object.

Return:
reference to the project helper object
Return Type:
PySvnProjectHelper

VcsPySvnPlugin.initToolbar

initToolbar(ui, toolbarManager)

Public slot to initialize the VCS toolbar.

ui (UserInterface)
reference to the main window
toolbarManager (EricToolBarManager)
reference to a toolbar manager object

VcsPySvnPlugin.prepareUninstall

prepareUninstall()

Public method to prepare for an uninstallation.

VcsPySvnPlugin.prepareUnload

prepareUnload()

Public method to prepare for an unload.

Up


createConfigurationPage

createConfigurationPage(_configDlg)

Module function to create the configuration page.

_configDlg (QDialog)
reference to the configuration dialog (unused)
Return:
reference to the configuration page
Return Type:
SubversionPage
Up


displayString

displayString()

Public function to get the display string.

Return:
display string
Return Type:
str
Up


exeDisplayData

exeDisplayData()

Public method to support the display of some executable info.

Return:
dictionary containing the data to be shown
Return Type:
dict
Up


getConfigData

getConfigData()

Module function returning data as required by the configuration dialog.

Return:
dictionary with key "zzz_subversionPage" containing the relevant data
Return Type:
dict
Up


getVcsSystemIndicator

getVcsSystemIndicator()

Public function to get the indicators for this version control system.

Return:
dictionary with indicator as key and a tuple with the vcs name and vcs display string
Return Type:
dict
Up


prepareUninstall

prepareUninstall()

Module function to prepare for an uninstallation.

Up