eric3.VCS.subversionPackage.ProjectBrowserHelper

Module implementing the VCS project browser helper for subversion.

Classes

SvnProjectBrowserHelper Class implementing the VCS project browser helper for subversion.

Functions

None


SvnProjectBrowserHelper

Class implementing the VCS project browser helper for subversion.

Derived from

VcsProjectBrowserHelper

Methods

SvnProjectBrowserHelper Constructor
__itemsHaveFiles Private method to check, if items contain file type items.
addVCSMenu Public method used to add the VCS menu to all project browsers.
addVCSMenuBack Public method used to add the VCS menu to all project browsers.
addVCSMenuDir Public method used to add the VCS menu to all project browsers.
addVCSMenuDirMulti Public method used to add the VCS menu to all project browsers.
addVCSMenuMulti Public method used to add the VCS menu for multi selection to all project browsers.
handleSVNBreakLock Private slot called by the context menu to break lock files in the repository.
handleSVNCopy Private slot called by the context menu to copy the selected file.
handleSVNDelProp Private slot called by the context menu to delete a subversion property of a file.
handleSVNExtendedDiff Private slot called by the context menu to show the difference of a file to the repository.
handleSVNListProps Private slot called by the context menu to list the subversion properties of a file.
handleSVNLock Private slot called by the context menu to lock files in the repository.
handleSVNLogLimited Private slot called by the context menu to show the limited log of a file.
handleSVNMove Private slot called by the context menu to move the selected file.
handleSVNResolve Private slot called by the context menu to resolve conflicts of a file.
handleSVNSetProp Private slot called by the context menu to set a subversion property of a file.
handleSVNStealLock Private slot called by the context menu to steal lock files in the repository.
handleSVNUnlock Private slot called by the context menu to unlock files in the repository.
handleShowPopupMenu Slot called before the context menu is shown.
handleShowPopupMenuDir Slot called before the context menu is shown.
handleShowPopupMenuDirMulti Slot called before the context menu is shown.
handleShowPopupMenuMulti Slot called before the context menu (multiple selections) is shown.

SvnProjectBrowserHelper (Constructor)

SvnProjectBrowserHelper(vcsObject, browserObject, projectObject, isTranslationsBrowser, parent=None, name=None)

Constructor

vcsObject
reference to the vcs object
browserObject
reference to the project browser object
projectObject
reference to the project object
isTranslationsBrowser
flag indicating, the helper is requested for the translations browser (this needs some special treatment)
parent
parent widget (QWidget)
name
name of this object (string or QString)

SvnProjectBrowserHelper.__itemsHaveFiles

__itemsHaveFiles(items)

Private method to check, if items contain file type items.

items
items to check (list of QListViewItems)
Returns:
flag indicating items contain file type items (boolean)

SvnProjectBrowserHelper.addVCSMenu

addVCSMenu(menu)

Public method used to add the VCS menu to all project browsers.

menu
reference to the menu to be amended

SvnProjectBrowserHelper.addVCSMenuBack

addVCSMenuBack(menu)

Public method used to add the VCS menu to all project browsers.

menu
reference to the menu to be amended

SvnProjectBrowserHelper.addVCSMenuDir

addVCSMenuDir(menu)

Public method used to add the VCS menu to all project browsers.

menu
reference to the menu to be amended

SvnProjectBrowserHelper.addVCSMenuDirMulti

addVCSMenuDirMulti(menu)

Public method used to add the VCS menu to all project browsers.

menu
reference to the menu to be amended

SvnProjectBrowserHelper.addVCSMenuMulti

addVCSMenuMulti(menu)

Public method used to add the VCS menu for multi selection to all project browsers.

menu
reference to the menu to be amended

SvnProjectBrowserHelper.handleSVNBreakLock

handleSVNBreakLock()

Private slot called by the context menu to break lock files in the repository.

SvnProjectBrowserHelper.handleSVNCopy

handleSVNCopy()

Private slot called by the context menu to copy the selected file.

SvnProjectBrowserHelper.handleSVNDelProp

handleSVNDelProp()

Private slot called by the context menu to delete a subversion property of a file.

SvnProjectBrowserHelper.handleSVNExtendedDiff

handleSVNExtendedDiff()

Private slot called by the context menu to show the difference of a file to the repository.

This gives the chance to enter the revisions to compare.

SvnProjectBrowserHelper.handleSVNListProps

handleSVNListProps()

Private slot called by the context menu to list the subversion properties of a file.

SvnProjectBrowserHelper.handleSVNLock

handleSVNLock()

Private slot called by the context menu to lock files in the repository.

SvnProjectBrowserHelper.handleSVNLogLimited

handleSVNLogLimited()

Private slot called by the context menu to show the limited log of a file.

SvnProjectBrowserHelper.handleSVNMove

handleSVNMove()

Private slot called by the context menu to move the selected file.

SvnProjectBrowserHelper.handleSVNResolve

handleSVNResolve()

Private slot called by the context menu to resolve conflicts of a file.

SvnProjectBrowserHelper.handleSVNSetProp

handleSVNSetProp()

Private slot called by the context menu to set a subversion property of a file.

SvnProjectBrowserHelper.handleSVNStealLock

handleSVNStealLock()

Private slot called by the context menu to steal lock files in the repository.

SvnProjectBrowserHelper.handleSVNUnlock

handleSVNUnlock()

Private slot called by the context menu to unlock files in the repository.

SvnProjectBrowserHelper.handleShowPopupMenu

handleShowPopupMenu(menu, standardItems)

Slot called before the context menu is shown.

It enables/disables the VCS menu entries depending on the overall VCS status and the file status.

menu
reference to the menu to be shown
standardItems
array of standard items that need activation/deactivation depending on the overall VCS status

SvnProjectBrowserHelper.handleShowPopupMenuDir

handleShowPopupMenuDir(menu, standardItems)

Slot called before the context menu is shown.

It enables/disables the VCS menu entries depending on the overall VCS status and the directory status.

menu
reference to the menu to be shown
standardItems
array of standard items that need activation/deactivation depending on the overall VCS status

SvnProjectBrowserHelper.handleShowPopupMenuDirMulti

handleShowPopupMenuDirMulti(menu, standardItems)

Slot called before the context menu is shown.

It enables/disables the VCS menu entries depending on the overall VCS status and the directory status.

menu
reference to the menu to be shown
standardItems
array of standard items that need activation/deactivation depending on the overall VCS status

SvnProjectBrowserHelper.handleShowPopupMenuMulti

handleShowPopupMenuMulti(menu, standardItems)

Slot called before the context menu (multiple selections) is shown.

It enables/disables the VCS menu entries depending on the overall VCS status and the files status.

menu
reference to the menu to be shown
standardItems
array of standard items that need activation/deactivation depending on the overall VCS status

Up