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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py	Sat Dec 23 15:40:23 2023 +0100
@@ -36,12 +36,18 @@
         Constructor
 
         @param vcsObject reference to the vcs object
+        @type Git
         @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,
@@ -61,8 +67,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:
@@ -86,8 +94,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()
@@ -120,8 +130,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:
@@ -142,8 +154,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()
@@ -177,6 +191,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 = []
@@ -318,6 +333,7 @@
         project browsers.
 
         @param mainMenu reference to the menu to be amended
+        @type QMenu
         """
         self.vcsMultiMenuActions = []
 
@@ -422,6 +438,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
@@ -466,6 +483,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
@@ -580,6 +598,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

eric ide

mercurial