--- a/src/eric7/VCS/ProjectBrowserHelper.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/VCS/ProjectBrowserHelper.py Fri Dec 22 17:24:07 2023 +0100 @@ -40,12 +40,18 @@ Constructor @param vcsObject reference to the vcs object + @type VersionControl @param browserObject reference to the project browser object + @type ProjectBaseBrowser @param projectObject reference to the project object + @type Project @param isTranslationsBrowser flag indicating, the helper is requested for the translations browser (this needs some special treatment) - @param parent parent widget (QWidget) - @param name name of this object (string) + @type bool + @param parent parent widget + @type QWidget + @param name name of this object + @type str """ super().__init__(parent) if name: @@ -61,12 +67,16 @@ Public method to add the VCS entries to the various project browser menus. - @param mainMenu reference to the main menu (QPopupMenu) - @param multiMenu reference to the multiple selection menu (QPopupMenu) - @param backMenu reference to the background menu (QPopupMenu) - @param dirMenu reference to the directory menu (QPopupMenu) - @param dirMultiMenu reference to the multiple selection directory - menu (QPopupMenu) + @param mainMenu reference to the main menu + @type QMenu + @param multiMenu reference to the multiple selection menu + @type QMenu + @param backMenu reference to the background menu + @type QMenu + @param dirMenu reference to the directory menu + @type QMenu + @param dirMultiMenu reference to the multiple selection directory menu + @type QMenu """ self._addVCSMenu(mainMenu) self._addVCSMenuMulti(multiMenu) @@ -82,8 +92,10 @@ VCS status and the file status. @param menu reference to the menu to be shown + @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status + @type list of BrowserItem @exception NotImplementedError to indicate that this method must be implemented by a subclass """ @@ -98,8 +110,10 @@ VCS status and the files status. @param menu reference to the menu to be shown + @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status + @type list of BrowserItem @exception NotImplementedError to indicate that this method must be implemented by a subclass """ @@ -113,8 +127,10 @@ VCS status and the directory status. @param menu reference to the menu to be shown + @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status + @type list of BrowserItem @exception NotImplementedError to indicate that this method must be implemented by a subclass """ @@ -128,8 +144,10 @@ VCS status and the directory status. @param menu reference to the menu to be shown + @type QMenu @param standardItems array of standard items that need activation/deactivation depending on the overall VCS status + @type list of BrowserItem @exception NotImplementedError to indicate that this method must be implemented by a subclass """ @@ -415,6 +433,6 @@ Protected method to update the VCS status of an item. @param name filename or directoryname of the item to be updated - (string) + @type str """ self.project.getModel().updateVCSStatus(name)