src/eric7/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py	Sat Dec 23 15:40:23 2023 +0100
@@ -35,12 +35,18 @@
         Constructor
 
         @param vcsObject reference to the vcs object
+        @type Subversion
         @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
         """
         VcsProjectBrowserHelper.__init__(
             self,
@@ -60,8 +66,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 QAction
         """
         if self.browser.currentItem().data(1) == self.vcs.vcsName():
             for act in self.vcsMenuActions:
@@ -96,8 +104,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 QAction
         """
         vcsName = self.vcs.vcsName()
         items = self.browser.getSelectedItems()
@@ -136,8 +146,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 QAction
         """
         if self.browser.currentItem().data(1) == self.vcs.vcsName():
             for act in self.vcsDirMenuActions:
@@ -162,8 +174,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 QAction
         """
         vcsName = self.vcs.vcsName()
         items = self.browser.getSelectedItems()
@@ -201,6 +215,7 @@
         Protected method used to add the VCS menu to all project browsers.
 
         @param mainMenu reference to the menu to be amended
+        @type QMenu
         """
         self.vcsMenuActions = []
         self.vcsAddMenuActions = []
@@ -387,6 +402,7 @@
         project browsers.
 
         @param mainMenu reference to the menu to be amended
+        @type QMenu
         """
         self.vcsMultiMenuActions = []
         self.vcsAddMultiMenuActions = []
@@ -540,6 +556,7 @@
         Protected method used to add the VCS menu to all project browsers.
 
         @param mainMenu reference to the menu to be amended
+        @type QMenu
         """
         if mainMenu is None:
             return
@@ -584,6 +601,7 @@
         Protected method used to add the VCS menu to all project browsers.
 
         @param mainMenu reference to the menu to be amended
+        @type QMenu
         """
         if mainMenu is None:
             return
@@ -727,6 +745,7 @@
         Protected method used to add the VCS menu to all project browsers.
 
         @param mainMenu reference to the menu to be amended
+        @type QMenu
         """
         if mainMenu is None:
             return
@@ -1088,7 +1107,9 @@
         """
         Private method to check, if items contain file type items.
 
-        @param items items to check (list of QTreeWidgetItems)
-        @return flag indicating items contain file type items (boolean)
+        @param items items to check
+        @type list of QTreeWidgetItems
+        @return flag indicating items contain file type items
+        @rtype bool
         """
         return any(isinstance(itm, ProjectBrowserFileItem) for itm in items)

eric ide

mercurial